Skip to content

Instantly share code, notes, and snippets.

@takekazuomi
Created April 17, 2014 05:49
Show Gist options
  • Save takekazuomi/10955975 to your computer and use it in GitHub Desktop.
Save takekazuomi/10955975 to your computer and use it in GitHub Desktop.
.gitattributes for Windows
# Auto detect text files and perform LF normalization
* text=auto
# Custom for Visual Studio
*.bat text
*.config text
*.cmd text
*.cs text
*.csproj text
*.licenseheader text
*.nuspec text
*.proj text
*.ps1 text
*.psm1 text
*.resx text
*.ruleset text
*.sln text
*.sql text
*.targets text
*.txt text
# 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