-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
45 lines (41 loc) · 1.58 KB
/
.gitattributes
File metadata and controls
45 lines (41 loc) · 1.58 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
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto
###############################################################################
# Force CRLF line endings for source files (consistent with .editorconfig)
# This ensures dotnet format works consistently across platforms
###############################################################################
*.cs text eol=crlf
*.csproj text eol=crlf
*.sln text eol=crlf
*.slnx text eol=crlf
*.props text eol=crlf
*.targets text eol=crlf
*.json text eol=crlf
*.xml text eol=crlf
*.config text eol=crlf
*.yml text eol=crlf
*.yaml text eol=crlf
*.md text eol=crlf
*.txt text eol=crlf
*.editorconfig text eol=crlf
###############################################################################
# Shell scripts - keep LF
###############################################################################
*.sh text eol=lf
###############################################################################
# Set the merge driver for project and solution files
###############################################################################
#*.sln merge=binary
#*.slnx merge=binary
#*.csproj merge=binary
###############################################################################
# Binary files - no line ending conversion
###############################################################################
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.pdf binary