From 992bf972b03ea02c59f3b0a34a89696a91ee70d6 Mon Sep 17 00:00:00 2001 From: Erick Ahmed Date: Wed, 1 Jul 2026 10:10:18 +0200 Subject: [PATCH] Add gitattributes --- .gitattributes | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..074c790 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,18 @@ +# --- KiCad project files (text, enable diff) --- +*.kicad_sch text diff +*.kicad_pcb text diff +*.kicad_pro text diff +*.kicad_prl text diff + +# --- Gerber files (RS-274X, plain text but no normalization) --- +*.gbr text eol=lf +*.gbrjob text eol=lf + +# --- Drill files (Excellon, plain text) --- +*.drl text eol=lf + +# --- Prevent Git from misclassifying fabrication outputs as binary --- +*.gbr -diff +*.gbrjob -diff +*.drl -diff +