Skip to content

Commit e88d246

Browse files
committed
normalize line endings
_This change is similar to Incendo/cloud#786
1 parent 35ab865 commit e88d246

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.gitattributes

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
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
1+
# Documentation: https://www.git-scm.com/docs/gitattributes
2+
3+
# Set default behavior to automatically normalize line endings.
4+
* text=auto eol=lf
5+
6+
# Enforce CRLF line endings in Windows batch scripts to avoid issues.
7+
*.cmd text eol=crlf
8+
*.bat text eol=crlf

0 commit comments

Comments
 (0)