-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.gitattributes
More file actions
50 lines (44 loc) · 1.07 KB
/
Copy path.gitattributes
File metadata and controls
50 lines (44 loc) · 1.07 KB
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
42
43
44
45
46
47
48
49
50
# .gitattributes
# Always use LF (Unix) line endings when checking out from Git repository
# Force apply regardless of core.autocrlf settings
# Default: Force LF for all text files
* text=auto eol=lf
# Source code
*.go text eol=lf
*.java text eol=lf
*.c text eol=lf
*.h text eol=lf
*.cpp text eol=lf
*.py text eol=lf
# Build/Config files
Makefile text eol=lf
Dockerfile text eol=lf
*.sh text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
*.toml text eol=lf
*.conf text eol=lf
*.env text eol=lf
*.mk text eol=lf
*.mod text eol=lf
*.sum text eol=lf
*.spec text eol=lf
go.work text eol=lf
# JSON / XML / Properties
*.json text eol=lf
*.xml text eol=lf
*.properties text eol=lf
# Documentation
*.md text eol=lf
*.txt text eol=lf
# Binary files (exclude from conversion)
*.tar.gz binary
*.gz binary
*.zip binary
*.jar binary
*.class binary
*.png binary
*.jpg binary
*.gif binary
*.ico binary
*.pdf binary