fix: convert line endings to LF on checkout for all envs (#1448)

* Convert line endings to LF on checkout for all envs

* fix: convert line endings to LF on checkout for all envs
This commit is contained in:
Liu 2023-01-04 18:36:38 +08:00 committed by GitHub
parent eae3b0d367
commit 1f39027b78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

5
.gitattributes vendored
View File

@ -1,2 +1,5 @@
*.go linguist-detectable=true *.go linguist-detectable=true
*.js linguist-detectable=false *.js linguist-detectable=false
# Declare files that will always have LF line endings on checkout.
# Git will always convert line endings to LF on checkout. You should use this for files that must keep LF endings, even on Windows.
*.sh text eol=lf