-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitattributes
27 lines (22 loc) · 1 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
* text=auto
# *.cs text eol=crlf diff=csharp
# *.sln text eol=crlf
# *.csproj text eol=crlf
# *.props text eol=crlf
# *.targets text eol=crlf
# These are explicitly windows files and should use crlf
*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf
# Run following command to cleanup
# git rm -rf --cached . && git reset --hard HEAD
# git add --renormalize . && git commit
# Based on
# https://docs.github.com/en/get-started/getting-started-with-git/configuring-git-to-handle-line-endings
# https://github.com/gitattributes/gitattributes/blob/master/Common.gitattributes
# https://github.com/gitattributes/gitattributes/blob/master/CSharp.gitattributes
# https://github.com/gitattributes/gitattributes/blob/master/Global/VisualStudio.gitattributes
*.verified.txt text eol=lf working-tree-encoding=UTF-8
*.verified.xml text eol=lf working-tree-encoding=UTF-8
*.verified.json text eol=lf working-tree-encoding=UTF-8
*.verified.html text eol=lf working-tree-encoding=UTF-8