Skip to content

Instantly share code, notes, and snippets.

@kmorcinek
Last active May 5, 2017 17:58
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 kmorcinek/6bef0115a5216f26e1914dfa021c2f0d to your computer and use it in GitHub Desktop.
Save kmorcinek/6bef0115a5216f26e1914dfa021c2f0d to your computer and use it in GitHub Desktop.
Example .gitattributes file I use for C#/JS projects on Windows
# Auto detect text files and perform LF normalization: http://stackoverflow.com/questions/170961/whats-the-best-crlf-carriage-return-line-feed-handling-strategy-with-git/10855862#10855862
* text=auto
*.sql diff
*.ts diff
*.xml diff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment