Skip to content

Instantly share code, notes, and snippets.

@luowei
Created January 8, 2017 12:16
Show Gist options
  • Save luowei/f333b64e52545bc1526888041587f31f to your computer and use it in GitHub Desktop.
Save luowei/f333b64e52545bc1526888041587f31f to your computer and use it in GitHub Desktop.
.gitattributes
# Auto detect text files and perform LF normalization
* text=auto
# Custom for Visual Studio
*.cs diff=csharp
# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment