Skip to content

Commit 1f39027

Browse files
authored
fix: convert line endings to LF on checkout for all envs (casdoor#1448)
* Convert line endings to LF on checkout for all envs * fix: convert line endings to LF on checkout for all envs
1 parent eae3b0d commit 1f39027

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.gitattributes

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

0 commit comments

Comments
 (0)