Skip to content

Commit 7c38c4c

Browse files
committed
Ensure that shell scripts and Dockerfiles use Unix line-endings.
Signed-off-by: Gili Tzabari <[email protected]>
1 parent 9def9e5 commit 7c38c4c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.gitattributes

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Source: https://stackoverflow.com/a/10855862/14731
2+
# Auto detect text files and perform LF normalization
3+
* text=auto
4+
5+
*.sh eol=lf
6+
*.Dockerfile eol=lf
7+
Dockerfile eol=lf
8+
9+
# Binary files need to be listed explicitly as first rule makes all files text files
10+
*.gif binary

0 commit comments

Comments
 (0)