Skip to content
Snippets Groups Projects
.gitattributes 981 B
Newer Older
# 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
*.scala         text
*.sh            text eol=lf
*.gradle        text
*.xml           text
Philippe Suter's avatar
Philippe Suter committed
*.bat           text eol=crlf

*.jar           binary
*.png           binary

# python files not having the .py extension
tools/cli/wsk      text eol=lf
tools/cli/wskadmin text eol=lf

# bash files not having the .sh extension
tools/vagrant/simple/wsk        text eol=lf
gradlew                         text eol=lf
core/javaAction/proxy/gradlew   text eol=lf
tools/vagrant/hello             text eol=lf
sdk/docker/client/action        text eol=lf