Skip to content

Commit 0545a02

Browse files
authored
Update .gitattributes
1 parent 2185e6e commit 0545a02

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.gitattributes

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
*.m linguist-language=dart
2-
*.h linguist-language=dart
3-
*.java linguist-language=dart
4-
*.kt linguist-language=dart
1+
# Force batch scripts to always use CRLF line endings so that if a repo is accessed
2+
# in Windows via a file share from Linux, the scripts will work.
3+
*.{cmd,[cC][mM][dD]} text eol=crlf
4+
*.{bat,[bB][aA][tT]} text eol=crlf
5+
6+
# Force bash scripts to always use LF line endings so that if a repo is accessed
7+
# in Unix via a file share from Windows, the scripts will work.
8+
*.sh text eol=lf

0 commit comments

Comments
 (0)