-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitattributes
31 lines (29 loc) · 1.23 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
# Set git behaviour for files.
# Verify application using: `git check-attr --all -- <pathname>`
#------------------------------------------------------------------------------#
# Macro attributes
[attr]markdown eol=lf whitespace=-blank-at-eol,blank-at-eof,tab-in-indent,tabwidth=4
[attr]pwsh eol=lf diff=csharp whitespace=trailing-space,tab-in-indent,tabwidth=4
[attr]yaml eol=lf whitespace=trailing-space,tab-in-indent,tabwidth=4
#------------------------------------------------------------------------------#
# Normalize line-endings (disable with -text)
* text=auto
#------------------------------------------------------------------------------#
# Per file-extension settings
*.markdown markdown
*.md markdown
*.ps1 pwsh
*.ps[dm]1 pwsh
*.yaml yaml
*.yml yaml
# Per file settings
.editorconfig eol=lf whitespace=trailing-space,tab-in-indent,tabwidth=4
.gitattributes eol=lf whitespace=trailing-space
.gitignore -text whitespace=trailing-space
.yamllint yaml
#------------------------------------------------------------------------------#
# Image files (treat as binary)
*.gif binary
*.jpg binary
*.png binary
#------------------------------------------------------------------------------#