Permalink
Browse files

Added more binary types to .gitattributes

  • Loading branch information...
1 parent e53bf4f commit f4e0c6f5da5ba593690289ceed93128e9dba326a @wdamien wdamien committed Oct 2, 2015
Showing with 45 additions and 0 deletions.
  1. +45 −0 .gitattributes
View
@@ -1,2 +1,47 @@
+# Force all line endings to be \n
* text eol=lf
+
+############################################################
+# git can corrupt binary files if they're not set to binary.
+############################################################
+
+# Apple office documents are actually folders, so treat them as binary.
+*.numbers binary
+*.pages binary
+*.keynote binary
+
+# Image files
+*.png binary
+*.jpg binary
+*.jpeg binary
+*.gif binary
+*.webp binary
*.ico binary
+
+# Movie and audio files
+*.mov binary
+*.mp4 binary
+*.mp3 binary
+*.flv binary
+*.ogg binary
+
+# Compression formats
+*.gz binary
+*.bz2 binary
+*.7z binary
+*.zip binary
+
+# Web fonts
+*.ttf binary
+*.eot binary
+*.woff binary
+*.otf binary
+
+# Other
+*.fla binary
+*.swf binary
+*.pdf binary
+
+############################################################
+# End binary settings
+############################################################

0 comments on commit f4e0c6f

Please sign in to comment.