# .gitattributes snippet to force users to use same line endings for project. # # Handle line endings automatically for files detected as text # and leave all files detected as binary untouched. * text=auto # # The above will handle all files NOT found below # https://help.github.com/articles/dealing-with-line-endings/ # https://github.com/Danimoth/gitattributes/blob/master/Web.gitattributes # These files are text and should be normalized (Convert crlf => lf) *.php text *.css text *.js text *.json text *.htm text *.html text *.xml text *.txt text *.ini text *.inc text *.pl text *.rb text *.py text *.scm text *.sql text .htaccess text *.sh text # These files are binary and should be left untouched # (binary is a macro for -text -diff) *.7z binary *.bin binary *.bmp binary *.bsc binary *.chi binary *.chm binary *.dat binary *.db binary *.db-wal binary *.dll binary *.efx binary *.exe binary *.exp binary *.fla binary *.flv binary *.gif binary *.gz binary *.ico binary *.idb binary *.ilk binary *.iobj binary *.ipdb binary *.jpeg binary *.jpg binary *.lib binary *.mov binary *.mp3 binary *.mp4 binary *.mui binary *.ncb binary *.obj binary *.ogg binary *.pdf binary *.png binary *.ppm binary *.props binary *.pyc binary *.pyd binary *.rs binary *.sdf binary *.swf binary *.ttf binary *.user binary *.v10 binary *.vc6 binary *.wav binary *.zip binary