Skip to content

Instantly share code, notes, and snippets.

@ziteh
Last active September 12, 2025 15:53
Show Gist options
  • Save ziteh/d2ec499a33a7b92ba5fee0e45a92762e to your computer and use it in GitHub Desktop.
Save ziteh/d2ec499a33a7b92ba5fee0e45a92762e to your computer and use it in GitHub Desktop.
Git
# Set the default EOL for all text files to LF
* text=auto eol=lf
# Explicitly set EOL for Windows-specific files to CRLF
*.ps1 text eol=crlf
*.bat text eol=crlf
*.cmd text eol=crlf
# Binary files
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.webp binary
*.bmp binary
*.wasm binary
# KiCad files
# https://github.com/github-linguist/linguist/blob/main/lib/linguist/languages.yml
*.kicad_pro text linguist-detectable=true
*.kicad_prl text linguist-detectable=true
*.kicad_pcb text linguist-detectable=true
*.kicad_sch text linguist-detectable=true
*.kicad_dru text linguist-detectable=true
*.kicad_mod text linguist-detectable=true
*.kicad_sym text linguist-detectable=true
*.kicad_wks text linguist-detectable=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment