This repository was archived by the owner on Oct 7, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
71 lines (61 loc) · 2.54 KB
/
.gitattributes
File metadata and controls
71 lines (61 loc) · 2.54 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# Set default behavior to automatically normalize line endings
* text=auto eol=lf
# Documents
*.md text diff=markdown
*.txt text
*.pdf binary
# Scripts
*.sh text eol=lf
*.bash text eol=lf
*.zsh text eol=lf
*.fish text eol=lf
# Ensure shell scripts are marked as executable
*.sh binary
*.bash binary
*.zsh binary
*.fish binary
# Windows scripts
*.{cmd,[cC][mM][dD]} text eol=crlf
*.{bat,[bB][aA][tT]} text eol=crlf
*.ps1 text eol=crlf
# Docker
Dockerfile text eol=lf
*.dockerfile text eol=lf
.dockerignore text eol=lf
docker-compose*.{yml,yaml} text eol=lf
# Git files
.gitattributes text eol=lf
.gitignore text eol=lf
.gitconfig text eol=lf
# Config files
*.conf text eol=lf
*.cfg text eol=lf
*.config text eol=lf
*.ini text eol=lf
*.json text eol=lf
*.xml text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
*.properties text eol=lf
*.env text eol=lf
# Binary files (no line-ending conversion)
*.png binary
*.jpg binary
*.gif binary
*.ico binary
*.zip binary
*.tar binary
*.gz binary
*.tgz binary
*.7z binary
# Executable files
*.exe binary
*.dll binary
*.so binary
*.dylib binary
# Force batch scripts to always use CRLF line endings
*.{cmd,[cC][mM][dD]} text eol=crlf
*.{bat,[bB][aA][tT]} text eol=crlf
# Force bash scripts to always use LF line endings
*.sh text eol=lf
*.bash text eol=lf