Add .gitattributes to enforce unix line endings
This commit is contained in:
parent
b79cee657b
commit
0e876025e8
1 changed files with 5 additions and 0 deletions
5
.gitattributes
vendored
Normal file
5
.gitattributes
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# Activate line ending normalization, setting eol will make the behavior match core.autocrlf = input
|
||||
* text=auto eol=lf
|
||||
# Force batch scripts to always use CRLF line endings
|
||||
*.{cmd,[cC][mM][dD]} text eol=crlf
|
||||
*.{bat,[bB][aA][tT]} text eol=crlf
|
||||
Loading…
Add table
Add a link
Reference in a new issue