Skip to content

Commit ad8c30e

Browse files
committed
normalize line endings
_This change is similar to Incendo/cloud#786
1 parent 168ac80 commit ad8c30e

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.gitattributes

+9-5
Original file line numberDiff line numberDiff line change
@@ -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
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+
# 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

Comments
 (0)