Skip to content

Commit

Permalink
Saving files before refreshing line endings
Browse files Browse the repository at this point in the history
  • Loading branch information
statnmap committed Oct 23, 2019
1 parent eabcdeb commit f74af0e
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

# Declare files that will always have CRLF line endings on checkout.
*.Rd text eol=lf
*.R text eol=lf
*.Rmd text eol=lf
*.md text eol=lf
NAMESPACE text eol=lf
DESCRIPTION text eol=lf

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

0 comments on commit f74af0e

Please sign in to comment.