-
Notifications
You must be signed in to change notification settings - Fork 27
/
.gitattributes
37 lines (32 loc) · 1014 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
# This file applies attributes to different files in the git
# repository.
#
# This is used to apply end of line (EOL) codes, and how it's handled
# using different regex tokens.
#
# Different operating systems use different conventions:
# - Mac (before OSX): "\r" CR (Carriage Return)
# - Unix (Linux and Mac OSX): "\n" LF (Line Feed)
# - MS Windows - "\r\n" CRLF (Carriage Return and Line Feed)
#
# Set the default behavior, in case people don't have the git
# 'core.autocrlf' config option set.
* text=auto
# Explicitly declare text files you want to always be normalized and
# converted to native line endings on checkout.
*.cpp text
*.h text
*.py text
*.rs text
*.mel text
# Declare files that will always have CRLF line endings on checkout.
*.bat text eol=crlf
*.cmd text eol=crlf
# Declare files that will always have LF line endings on checkout.
*.bash text eol=lf
*.sh text eol=lf
# Denote all files that are truly binary and should not be modified.
*.mb binary
*.ma binary
*.png binary
*.jpg binary