blob: 849923798e342c2f121a303c509a051c10992b5b [file] [log] [blame]
# Auto detect text files and perform LF normalization.
# Resources:
# - https://www.kernel.org/pub/software/scm/git/docs/gitattributes.html
# - http://davidlaing.com/2012/09/19/customise-your-gitattributes-to-become-a-git-ninja/
# - https://help.github.com/articles/dealing-with-line-endings/
* text=auto
*.go text eol=lf
*.java text
*.js text
*.md text
*.py text eol=lf
*.scala text
*.sh text eol=lf
*.gradle text
*.xml text
*.yml text
*.bat text eol=crlf
*.jar binary
*.png binary
# bash files not having the .sh extension
gradlew text eol=lf
Dockerfile text
Makefile text