Skip to content

Instantly share code, notes, and snippets.

@srkirkland
Created June 18, 2012 21:17
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save srkirkland/2950792 to your computer and use it in GitHub Desktop.
Save srkirkland/2950792 to your computer and use it in GitHub Desktop.
basic gitattributes file, with auto LF normalization
# Auto detect text files and perform LF normalization
* text=auto
# Custom for Visual Studio
*.cs diff=csharp
*.sln merge=union
*.csproj merge=union
*.vbproj merge=union
*.fsproj merge=union
*.dbproj merge=union
# 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
@smaug87
Copy link

smaug87 commented Jan 31, 2024

😔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment