Skip to content

Commit

Permalink
Add .gitattribute to define line endings
Browse files Browse the repository at this point in the history
  • Loading branch information
stefvanbuuren committed Nov 25, 2019
1 parent fc0e6d8 commit 2b87005
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto

# Explicitly declare text files you want to always be normalized and converted
# to native line endings on checkout.
*.r text
*.Rmd text
*.md text
*.json text

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

0 comments on commit 2b87005

Please sign in to comment.