Skip to content

Commit 5da4357

Browse files
committed
Add .gitattributes to force normalize EOLs if core.autocrlf didn't set
All text files force to LF. To find special non-text files to add them filter you can use git ls-tree --name-only -r HEAD | xargs file -N | grep -v text
1 parent 52cc779 commit 5da4357

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.gitattributes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
* text eol=lf
2+
3+
*.png binary
4+
*.bin binary
5+
*.elf binary

0 commit comments

Comments
 (0)