Skip to content

Instantly share code, notes, and snippets.

@at15
Forked from a-r-m-i-n/.gitattributes
Created January 30, 2016 14:07
Show Gist options
  • Save at15/f3705b4fab4fdfae42ab to your computer and use it in GitHub Desktop.
Save at15/f3705b4fab4fdfae42ab to your computer and use it in GitHub Desktop.
.gitattributes to force LF for all text files
# Autodetect text files
* text=auto
# Force the following filetypes to have unix eols, so Windows does not break them
*.* text eol=lf
# Force images/fonts to be handled as binaries
*.jpg binary
*.jpeg binary
*.gif binary
*.png binary
*.t3x binary
*.t3d binary
*.exe binary
*.data binary
*.ttf binary
*.eof binary
*.eot binary
*.swf binary
*.mov binary
*.mp4 binary
*.mp3 binary
*.ogg binary
*.flv binary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment