-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
64 lines (51 loc) · 2.54 KB
/
Copy path.gitattributes
File metadata and controls
64 lines (51 loc) · 2.54 KB
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
60
61
62
63
64
################################################################################
# Git automatically determines whether it deals with text or binary files. If it
# determines that a file is a text file it will convert all line endings of that
# file to be just single LF (line feed) characters before committing the file.
# This behaviour can be altered by providing more specific instructions for
# files after the below statement.
################################################################################
* text=auto
################################################################################
# Files interpreted by the Windows cmd.exe shall be treated as text files which
# means their line endings are converted to just LF instead of CRLF when such a
# file is committed. If the file is written out to the working directory the
# line endings are always converted to CRLF.
################################################################################
*.bat text eol=crlf
*.cmd text eol=crlf
################################################################################
# Visual Studio project and solution files shall be treated as text files which
# means that their line endings are converted to just LF instead of CRLF when
# such files are committed. To prevent issues with Visual Studio, the line
# endings of those files are always converted to CRLF once the files are written
# out to the working directory, regardless of the operating system on which this
# happens.
################################################################################
*.props text eol=crlf
*.sln text eol=crlf
*.vcxitems text eol=crlf
*.vcxproj text eol=crlf
################################################################################
# Treat the following files as text files which means that their line endings
# are converted to just LF instead of CRLF when such a file is committed. If the
# file is written out to the working directory the line endings are converted to
# the default line ending of the platform.
################################################################################
*.c text
*.cpp text
*.h text
*.hlsl text
*.hpp text
*.inl text
*.rc text
*.xaml text
*.xml text
################################################################################
# Treat the following files as binary files which means there is no line endings
# conversion applied and changes are stored as binary patches.
################################################################################
*.gif binary
*.jpg binary
*.pdf binary
*.png binary