Skip to content

Commit 6c2114c

Browse files
committed
Disable Git's line ending translation
1 parent 9c1ddf7 commit 6c2114c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.gitattributes

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Treat all files in this repo as binary, with no git magic updating line
2+
# endings. Windows users contributing to the project will need to use a modern
3+
# version of git and editors capable of LF line endings.
4+
#
5+
# See https://github.com/golang/go/issues/9281
6+
* -text

0 commit comments

Comments
 (0)