Skip to content

Instantly share code, notes, and snippets.

@dcsg
dcsg / .gitattributes
Created June 4, 2012 15:18
.gitignore and .gitattributes files for ASP.NET MVC projects
# Source https://help.github.com/articles/dealing-with-line-endings
# Set default behaviour, in case users don't have core.autocrlf set.
* text=auto
# Explicitly declare text files we want to always be normalized and converted
# to native line endings on checkout.
*.c text
*.h text
# Declare files that will always have CRLF line endings on checkout.