Skip to content

Commit b10b3e6

Browse files
Merge pull request #139 from SmythOS/dev
add .gitattributes to normalize file formats accross different OS
2 parents 99911c1 + 1a3a24f commit b10b3e6

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.gitattributes

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Normalize text files, LF in repo, auto on checkout
2+
* text=auto
3+
4+
# Scripts always LF
5+
*.sh text eol=lf
6+
7+
# Windows batch files always CRLF
8+
*.bat text eol=crlf
9+
10+
# Mark binary files
11+
*.png binary
12+
*.jpg binary
13+
*.gif binary
14+
*.exe binary
15+
*.dll binary

0 commit comments

Comments
 (0)