We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55f5206 commit 4b3bc8dCopy full SHA for 4b3bc8d
1 file changed
.gitattributes
@@ -1,3 +1,7 @@
1
+# Normalize all text files to LF in the repo, OS-native line endings on checkout.
2
+# Silences CRLF conversion warnings on Windows.
3
+* text=auto
4
+
5
# Go tooling (gofmt, golangci-lint) requires LF line endings.
6
# Without this, core.autocrlf=true on Windows converts to CRLF on checkout,
7
# causing spurious "not properly formatted" errors -- especially in worktrees.
0 commit comments