.gitattributes default eol=lf for all text source

used mainly by my win10 desktop github, it would pop up a warning that lf was going to be converting LF to CRLF
https://github.com/desktop/desktop/issues/3841 provided this solve
This commit is contained in:
Garfield69 2020-03-14 21:29:43 +13:00
parent 55bd19dc45
commit 6afaf39d5a
1 changed files with 1 additions and 3 deletions

4
.gitattributes vendored
View File

@ -1,15 +1,13 @@
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto
* text eol=lf
# Explicitly declare text files you want to always be normalized and converted
# to native line endings on checkout.
# Declare files that will always have LF line endings on checkout.
*.yml text eol=lf
*.sh text eol=lf
# Declare files that will always have CRLF line endings on checkout.
*.cs text eol=crlf
# Denote all files that are truly binary and should not be modified.
*.png binary