Commit 0ab2a541cbc4d38ebc353354cf4936118faf5fef
Committed by
GitHub
1 parent
4dc53851
build: git config (#2474)
Showing
1 changed file
with
11 additions
and
0 deletions
.gitattributes
0 → 100644
1 | +# https://docs.github.com/cn/get-started/getting-started-with-git/configuring-git-to-handle-line-endings | |
2 | + | |
3 | +# Automatically normalize line endings (to LF) for all text-based files. | |
4 | +* text=auto eol=lf | |
5 | + | |
6 | +# Declare files that will always have CRLF line endings on checkout. | |
7 | +*.{cmd,[cC][mM][dD]} text eol=crlf | |
8 | +*.{bat,[bB][aA][tT]} text eol=crlf | |
9 | + | |
10 | +# Denote all files that are truly binary and should not be modified. | |
11 | +*.{ico,png,jpg,jpeg,gif,webp,svg,woff,woff2} binary | |
0 | 12 | \ No newline at end of file | ... | ... |