Skip to content

Commit

Permalink
chore(git): gitattributes for binary files
Browse files Browse the repository at this point in the history
  • Loading branch information
seangwright committed Aug 12, 2024
1 parent 7da641d commit 5c6f427
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,22 @@
* text eol=crlf
* text eol=crlf

# Ensure binary files are not treated as text https://stackoverflow.com/a/32278635/939634
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.mov binary
*.mp4 binary
*.mp3 binary
*.flv binary
*.fla binary
*.swf binary
*.gz binary
*.zip binary
*.7z binary
*.ttf binary
*.eot binary
*.woff binary
*.pyc binary
*.pdf binary

0 comments on commit 5c6f427

Please sign in to comment.