From 5eeb8a82521bb6fbe010ce15b5530901b97ac24b Mon Sep 17 00:00:00 2001 From: Erick Ahmed Date: Sun, 22 Feb 2026 11:33:05 +0100 Subject: [PATCH] Add gitattributes --- .gitattributes | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..cbb133b --- /dev/null +++ b/.gitattributes @@ -0,0 +1,17 @@ +# --- 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