We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35ab865 commit 1f7742dCopy full SHA for 1f7742d
.gitattributes
@@ -1,5 +1,9 @@
1
-#
2
-# https://help.github.com/articles/dealing-with-line-endings/
3
4
-# These are explicitly windows files and should use crlf
5
-*.bat text eol=crlf
+# Documentation: https://www.git-scm.com/docs/gitattributes
+
+# Set default behavior to automatically normalize line endings.
+* text=auto eol=lf
6
+# Force batch scripts to always use CRLF line endings so that if a repo is accessed
7
+# in Windows via a file share from Linux, the scripts will work.
8
+*.cmd text eol=crlf
9
+*.bat text eol=crlf
0 commit comments