Skip to content

Commit

Permalink
Manage text and binary files
Browse files Browse the repository at this point in the history
  • Loading branch information
bportaluri committed Oct 20, 2015
1 parent 3bd5f9d commit 398f265
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .gitattributes
@@ -0,0 +1,33 @@
.gitattributes export-ignore
.gitignore export-ignore
.git export-ignore

# Auto detect text files and perform LF normalization
* text=auto

# Explicitly declare text files we want to always be normalized and converted
# to native line endings on checkout.
*.txt text
*.ino text
*.c text
*.h text
*.cpp text


# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary
*.fzz binary

# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain

0 comments on commit 398f265

Please sign in to comment.