-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
29 lines (22 loc) · 801 Bytes
/
.gitattributes
File metadata and controls
29 lines (22 loc) · 801 Bytes
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
# Set default behavior to automatically normalize line endings
* text=auto
# Force batch scripts to always use CRLF line endings so that if a repo is accessed
# in Windows via a file share from Linux, the scripts will work
*.{cmd,[cC][mM][dD]} text eol=crlf
*.{bat,[bB][aA][tT]} text eol=crlf
# Force bash scripts to always use LF line endings so that if a repo is accessed
# in Unix via a file share from Windows, the scripts will work
*.sh text eol=lf
# PowerShell files should use LF
*.ps1 text eol=lf
*.psm1 text eol=lf
*.psd1 text eol=lf
# YAML files should use LF
*.yml text eol=lf
*.yaml text eol=lf
# JSON files should use LF
*.json text eol=lf
# Markdown files should use LF
*.md text eol=lf
# Don't allow people to merge changes to these generated files
# package-lock.json merge=ours