diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..34b77ce8 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,10 @@ +# Set the default behavior, in case people don't have core.autocrlf set. +* text=auto + +# Explicitly declare text files you want to always be normalized and converted +# to native line endings on checkout. +*.cpp text eol=lf +*.hpp text eol=lf +*.py text eol=lf +*.rst text eol=lf +*.sh text eol=lf