Created
December 3, 2012 16:53
-
-
Save sloriot/4196282 to your computer and use it in GitHub Desktop.
better .gitattributes
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
| # Set default behaviour, in case users don't have core.autocrlf set. | |
| * text=auto | |
| # Explicitly declare text files we want to always be normalized and converted | |
| # to native line endings on checkout. | |
| *.cpp text | |
| *.c text | |
| *.h text | |
| # Declare files that will always have CRLF line endings on checkout. | |
| *.sln text eol=crlf | |
| *.bat text eol=crlf | |
| *.nsh text eol=crlf | |
| *.vcproj text eol=crlf | |
| # Denote all files that are truly binary and should not be modified. | |
| *.png binary | |
| *.jpg binary | |
| *.gif binary | |
| *.bmp binary | |
| *.pdf binary | |
| *.jpeg binary | |
| *.doc binary | |
| *.mws binary | |
| *.odp binary |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment