Skip to content

Commit 194e7b3

Browse files
committed
Add .gitattributes to prevent cross-platform line endings errors
1 parent 81ed015 commit 194e7b3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.gitattributes

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
# Ensure git handles line endings correctly
3+
# Set the default behavior, in case core.autocrlf is not set.
4+
* text=auto
5+
6+
# Ensure shell scripts are strictly linux-style
7+
*.sh text eol=lf

0 commit comments

Comments
 (0)