-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitattributes
108 lines (86 loc) · 4.28 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
################################################################################
# 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
################################################################################
# Localization files that are used for iOS 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 LF which is important because that is the
# native line ending on macOS.
################################################################################
*.strings text eol=cr
################################################################################
# Files that are executed using a Linux shell 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 LF which is important even if a shell
# provided by the Windows Subsystem for Linux is used.
################################################################################
*.sh text eol=lf
################################################################################
# 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.
################################################################################
*.androidproj text eol=crlf
*.csproj text eol=crlf
*.filters text eol=crlf
*.iosproj text eol=crlf
*.props text eol=crlf
*.sln text eol=crlf
*.vcxitems text eol=crlf
*.vcxproj text eol=crlf
################################################################################
# Gradle files 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.
################################################################################
*.gradle text eol=crlf
*.gradle.template 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
*.cs text
*.h text
*.hlsl text
*.hpp text
*.inl text
*.java text
*.m text
*.mm text
*.rc text
*.sql text
*.tt 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
*.jar binary
*.jpg binary
*.pdf binary
*.png binary