Add .gitattributes to force git not changing line endings for developers
This commit is contained in:
parent
63b6bb4ca3
commit
61427224a0
1 changed files with 14 additions and 0 deletions
14
.gitattributes
vendored
Normal file
14
.gitattributes
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
# Set the LF line ending default behavior also on Windows, in case core.autocrlf is not set.
|
||||||
|
* text eol=lf
|
||||||
|
|
||||||
|
# Explicitly declare text files you want to always be normalized and converted
|
||||||
|
# to native line endings on checkout.
|
||||||
|
#*.c text
|
||||||
|
#*.h text
|
||||||
|
|
||||||
|
# Declare files that will always have CRLF line endings on checkout.
|
||||||
|
#*.sln text eol=crlf
|
||||||
|
|
||||||
|
# Denote all files that are truly binary and should not be modified.
|
||||||
|
#*.png binary
|
||||||
|
#*.jpg binary
|
||||||
Loading…
Add table
Add a link
Reference in a new issue