diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..2efd4448 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,12 @@ +# ref: https://help.github.com/articles/dealing-with-line-endings/#platform-all + +# Set the default behavior, in case people don't have core.autocrlf set. +# (Check with git config --global --list) +* text=auto + +# Declare files that will always have CRLF line endings on checkout. +*.sln text eol=crlf +*.vcproj text eol=crlf +*.vcxproj text eol=crlf +*.vcxproj.filters text eol=crlf +*.bat text eol=crlf