Skip to content

Commit

Permalink
added to fix line endings issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Lucey committed Oct 11, 2023
1 parent 102de1d commit 81c739e
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# 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
*.r text
*.rmd text
*.Rproj text
*.bib text
*.tex text
*.csl text
*.yml text
*.md text
*.html text

# Declare files that will always have CRLF line endings on checkout.
*.sln text eol=crlf

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

0 comments on commit 81c739e

Please sign in to comment.