# References: # https://help.github.com/articles/dealing-with-line-endings/ # http://adaptivepatchwork.com/2012/03/01/mind-the-end-of-your-line/ # 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. *.md text *.html text *.txt text *.c text *.cc text *.h text *.hh text *.py text # Declare files that will always have CRLF line endings on checkout. *.sln text eol=crlf # Denote all files that are truly binary and should not be modified. *.gz binary *.tar binary *.tgz binary *.zip binary *.gif binary *.jpeg binary *.jpg binary *.nc binary *.png binary *.doc binary *.docx binary *.pdf binary *.ppt binary *.pptx binary *.vsd binary *.xls binary *.xlsx binary