Created
January 14, 2015 15:40
-
-
Save retohugi/11cf5cff27cbe40e16a1 to your computer and use it in GitHub Desktop.
.gitattributes for Sitecore projects
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Github for Windows default .gitattributes for VS Repos ## | |
# 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 | |
## Sitecore specific settings ## | |
# unset the text attribute and prevent git from normalizing serialized files | |
*.item -text | |
*.role -text |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Side note: I think the whole list of doc files could be ommited. They're not really relevant to our projects, but they come with Github for Windows.