-
Notifications
You must be signed in to change notification settings - Fork 51
/
.gitattributes
59 lines (51 loc) · 2.42 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
# Uncomment each section to enable it.
# See the following link for more details
# https://git-scm.com/docs/gitattributes
###############################################################################
# Set default behavior to automatically normalize line endings.
# This ensures that all files that git considers to be text will have normalized (LF) line endings in the repository.
# The core.eol configuration variable controls which line endings git will use for normalized files in your working directory;
# the default is to use the native line ending for your platform, or CRLF if core.autocrlf is set.
###############################################################################
* text=auto
###############################################################################
# Denote files that will always have CRLF line endings
# While git normally leaves file contents alone, it can be configured to normalize line endings when files are checked out.
###############################################################################
## Basic file types
# *.xml text eol=crlf
# *.txt text eol=crlf
## Visual Studio file types
# *.sln text eol=crlf
# *.csproj text eol=crlf
# *.vbproj text eol=crlf
# *.fsproj text eol=crlf
# *.dbproj text eol=crlf
# *.vcxproj text eol=crlf
# *.vcxitems text eol=crlf
# *.props text eol=crlf
# *.filters text eol=crlf
# *.h text eol=crlf
# *.c text eol=crlf
# *.cpp text eol=crlf
# *.cs text eol=crlf
# *.vb text eol=crlf
## PowerShell file types
# *.ps1 text eol=crlf
# *.psm1 text eol=crlf
# *.psd1 text eol=crlf
# *.psc1 text eol=crlf
# *.ps1xml text eol=crlf
# *.clixml text eol=crlf
## Denote all files that are truly binary and should not be modified.
# *.png binary
# *.jpg binary
# *.dll binary
# *.exe binary
###############################################################################
# Set default behavior for command prompt diff.
# It can tell git whether to generate a textual patch for the path or to treat the path as a binary file. It can also affect what line is shown on the hunk
# header @@ -k,l +n,m @@ line, tell git to use an external command to generate the diff, or ask git to convert binary files to a text format before generating the diff.
# Note: This is only used by command line
##############################################################################
# *.cs diff=csharp