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
| # Set default behavior to automatically normalize line endings
| * text=auto
|
| # Java sources
| *.java text eol=lf
| *.xml text eol=lf
| *.yml text eol=lf
| *.yaml text eol=lf
| *.properties text eol=lf
| *.sql text eol=lf
| *.md text eol=lf
| *.json text eol=lf
| *.txt text eol=lf
|
| # Build
| *.gradle text eol=lf
| pom.xml text eol=lf
|
| # Shell scripts
| *.sh text eol=lf
|
| # 现场消费文件(Windows 检出必须保持 LF:.env 值尾随 \r 会毒化密码/compose 变量,
| # Makefile 配方与 nginx.conf 同理;对应 Windows Server + Git Bash 部署路线)
| .env.example text eol=lf
| *.conf text eol=lf
| Makefile text eol=lf
|
| # Windows scripts
| *.bat text eol=crlf
| *.cmd text eol=crlf
|
| # Docker
| Dockerfile text eol=lf
|
| # Binary files
| *.jar binary
| *.class binary
| *.png binary
| *.jpg binary
| *.gif binary
| *.ico binary
|
|