-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.gitattributes
More file actions
37 lines (31 loc) Β· 809 Bytes
/
Copy path.gitattributes
File metadata and controls
37 lines (31 loc) Β· 809 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
30
31
32
33
34
35
36
37
# .gitattributes
# Normalize line endings on check-in to LF for all text files.
# Windows contributors' editors will still see CRLF if core.autocrlf=true,
# but the repository stores LF only.
* text=auto
# Go source β always LF in the repo
*.go text eol=lf
*.mod text eol=lf
*.sum text eol=lf -diff
# Config / data files β always LF
*.toml text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
*.json text eol=lf
*.md text eol=lf
*.txt text eol=lf
# Shell scripts β always LF (they break on CRLF)
*.sh text eol=lf
# Windows batch β keep CRLF
*.bat text eol=crlf
*.cmd text eol=crlf
# True binary files β no line-ending conversion, no diff
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.zip binary
*.tar binary
*.gz binary
*.exe binary