Skip to content

Commit 63fffe4

Browse files
committed
chore: add line-ending to gitattribute
1 parent a83bf51 commit 63fffe4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.gitattributes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Set default behavior to automatically normalize line endings, and force everything to be LF, except for Windows batch files that require CRLF, so that if a repo is accessed in Unix via a file share from Windows, the scripts will work.
2+
* text=auto eol=lf
3+
*.{cmd,[cC][mM][dD]} text eol=crlf
4+
*.{bat,[bB][aA][tT]} text eol=crlf

0 commit comments

Comments
 (0)