Skip to content

Instantly share code, notes, and snippets.

@PureKrome
Created March 17, 2013 23:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PureKrome/5184077 to your computer and use it in GitHub Desktop.
Save PureKrome/5184077 to your computer and use it in GitHub Desktop.
Just some .gitattributes file
# Set behaviour for all files, in case developers 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.
*.txt text
# Declare files that will always have CRLF line endings on checkout.
*.cs diff=csharp
*.sln text eol=crlf
# Denote all files that are truly binary and should not be modified.
*.zip binary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment