-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitattributes
37 lines (31 loc) · 930 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
29
30
31
32
33
34
35
36
37
# .gitattributes for Python-Files
# Check https://github.com/alexkaratarakis/gitattributes for More Informations
# Video Tutorial is available at https://www.youtube.com/watch?v=2E_ICZagmj4
# Auto Detect text-Files and perform LF Normalizations
* text=auto
# Source files
*.pxd text diff=python
*.py text diff=python
*.py3 text diff=python
*.pyw text diff=python
*.pyx text diff=python
*.pyz text diff=python
*.pyi text diff=python
# Binary files: *.py[cod] is IGNORED in .gitignore
# Make Necessary Changes, and add them as binary - if Required
*.db binary
*.p binary
*.pkl binary
*.pickle binary
# Jupyter notebook
*.ipynb text
# Text File-Types
*.md text
*.csv text
*.info text
# git should not attempt automatic line feed, diff, and merge attempts for these types of files.
*.pdf -crlf -diff -merge
*.jpg -crlf -diff -merge
*.png -crlf -diff -merge
*.xlsx -crlf -diff -merge
*.docx -crlf -diff -merge