提交 | 用户 | age
|
0ab2a5
|
1 |
# https://docs.github.com/cn/get-started/getting-started-with-git/configuring-git-to-handle-line-endings |
ZJ |
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 |