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 +