Last active
July 19, 2018 09:25
-
-
Save a-r-m-i-n/c0fe55fe2fb25cd44772 to your computer and use it in GitHub Desktop.
.gitattributes to force LF for all text files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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
There are also hidden files and files without
.
in it at all. They could be text files.