-
Notifications
You must be signed in to change notification settings - Fork 50
/
.gitattributes
30 lines (27 loc) · 1.09 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
###############################
# Git Line Endings #
###############################
# Set default behaviour to automatically normalize line endings.
* text=auto eol=lf
# 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.
gradlew text eol=lf
backend/gradlew text eol=lf
install-nix text eol=lf
sh_profile text eol=lf
*.sh text eol=lf
*.nix text eol=lf
*.gradle text eol=lf
*.java text eol=lf
*.{js,ts} text eol=lf
*.json text eol=lf
*.properties text eol=lf
*.sql text eol=lf
*.html text eol=lf
*.xml text eol=lf
*.{yml,yaml} text eol=lf
*.md text eol=lf