-
Notifications
You must be signed in to change notification settings - Fork 2
/
.gitattributes
36 lines (32 loc) · 907 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
# Files and directories with the attribute export-ignore won’t be added to archive files.
.gitignore export-ignore
.gitattributes export-ignore
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto
# Source files
# ============
*.py text eol=lf diff=python
*.sh text eol=lf
# Explicitly declare text files you want to always be normalized and converted
# to native line endings on checkout.
*.c text diff=cpp
*.cc text diff=cpp
*.cxx text diff=cpp
*.cpp text diff=cpp
*.c++ text diff=cpp
*.hpp text diff=cpp
*.h text diff=cpp
*.h++ text diff=cpp
*.hh text diff=cpp
# Declare files that will always have CRLF line endings on checkout.
*.sln text eol=crlf
*.vcproj text eol=crlf
*.bat text eol=crlf
# Binary files
# ============
*.pyc binary
*.pyd binary
*.pyo binary
*.pyz binary
*.kra binary
*.png binary