Add .gitattributes to ensure correct line endiings for Shell and Windows Command scripts

This commit is contained in:
Dave Parsons 2015-01-31 16:42:28 +00:00
parent 283442fd64
commit 98ee837ce6
1 changed files with 9 additions and 0 deletions

9
.gitattributes vendored Normal file
View File

@ -0,0 +1,9 @@
# Recommedations from GitHub help pages
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto
# Declare files that will always have CRLF line endings on checkout.
*.cmd text eol=crlf
# Declare files that will always have CRLF line endings on checkout.
*.sh text eol=lf