gitattributes for auto crlf normalization
This commit is contained in:
30
.gitattributes
vendored
Normal file
30
.gitattributes
vendored
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
# FIX CRLF always when developer has not set
|
||||||
|
# Linux/Mac: git config --global core.autocrlf input
|
||||||
|
# Windows: git config --global core.autocrlf true
|
||||||
|
# Auto detect text files and perform LF normalization
|
||||||
|
* text=auto
|
||||||
|
* eol=lf
|
||||||
|
|
||||||
|
*.js text
|
||||||
|
*.html text
|
||||||
|
*.npmignore text
|
||||||
|
*.md text
|
||||||
|
.ackrc text
|
||||||
|
.gitattributes text
|
||||||
|
.gitignore text
|
||||||
|
.jshintrc text
|
||||||
|
.nojekyll text
|
||||||
|
.travis.yml text
|
||||||
|
LICENSE text
|
||||||
|
|
||||||
|
# Avoid creation of unnecessary big commit objects
|
||||||
|
# For these files we do not want to see text diff for
|
||||||
|
*.min.* binary minified
|
||||||
|
*js.map* binary
|
||||||
|
*.svg binary
|
||||||
|
*.mtl binary
|
||||||
|
*.obj binary
|
||||||
|
*.jpg binary
|
||||||
|
*.jpeg binary
|
||||||
|
*.png binary
|
||||||
|
*.wav binary
|
||||||
Reference in New Issue
Block a user