-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitattributes
59 lines (48 loc) · 1.05 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Basic .gitattributes for a python repo.
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto
# Source files
# ============
*.pxd text diff=python
*.py text diff=python eol=lf
*.py3 text diff=python
*.pyw text diff=python
*.pyx text diff=python
*.pyz text diff=python
# Binary files
# ============
*.db binary
*.p binary
*.pkl binary
*.pickle binary
*.pyc binary
*.pyd binary
*.pyo binary
# General filetypes:
# Documents
*.md text diff=markdown
*.csv text
*.tab text
*.txt text
*.sql text
*.ps1 text eol=crlf
# Scripts
*.bash text eol=lf
*.sh text eol=lf
# These are explicitly windows files and should use crlf
*.bat text eol=crlf
*.cmd text eol=crlf
# Serialisation
*.json text
*.toml text
*.xml text
*.yaml text
*.yml text
# Text files where line endings should be preserved
*.patch -text
#
# Exclude files from exporting
#
.gitattributes export-ignore
.gitignore export-ignore
.gitkeep export-ignore