-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitattributes
28 lines (25 loc) · 869 Bytes
/
.gitattributes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# End of line characters are a problem when the team is developing on Windows (CRLF), Unix (LF), and Mac (LF)
# https://www.aleksandrhovhannisyan.com/blog/crlf-vs-lf-normalizing-line-endings-in-git/
# This small file will fix that. Line endings in the repository will be set to LF while local line endings will be left "alone".
# This enables windows users to develop using CRLF but then push using LF.
* 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