Created
November 3, 2014 20:07
-
-
Save martylouis/005b1719fd563a1de2fd to your computer and use it in GitHub Desktop.
Fix line endings - .gitattributes
This file contains 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
# Set the default behavior, in case people don't have core.autocrlf set. | |
* text=auto | |
# Explicitly declare text files you want to always be normalized and converted | |
# to native line endings on checkout. | |
*.c text | |
*.h text | |
# Declare files that will always have CRLF line endings on checkout. | |
*.sln text eol=crlf | |
# Denote all files that are truly binary and should not be modified. | |
*.png binary | |
*.jpg binary |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment