-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitattributes
30 lines (25 loc) · 1.18 KB
/
.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
29
30
# Normalise line endings automatically for files detected as text by default.
# That is: let the git installation on a user's machine decide
# which line ending to use when a repository is checked out.
# Subsequent lines may override this setting.
* text=auto
# recognise file syntax during diff
*.py text diff=python
*.tex text diff=tex
*.bib text diff=bibtex
*.md text diff=markdown
*.sh text diff=bash
# force batch scripts to always use CRLF
*.cmd text eol=crlf
*.bat text eol=crlf
# force bash scripts & Makefile to always use LF
*.sh text eol=lf
Makefile text eol=lf
# mark binary files explicitly
# (Git does not try to merge these files)
# binary is a built-in macro attribute == -diff -merge -text
*.png binary
# linguist settings:
#
# example notebook for mybinder.org
notebook.ipynb -linguist-detectable