Skip to content

Commit 61ce4f2

Browse files
authored
Create .gitattributes (#50)
1 parent 5a3d1c7 commit 61ce4f2

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.gitattributes

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# 在 GitHub 页面正确显示统计信息
2+
*.md linguist-vendored=false
3+
*.md linguist-generated=false
4+
*.md linguist-documentation=false
5+
*.md linguist-detectable=true
6+
# 默认启用文本自动规范化
7+
* text=auto
8+
# 明确指定 Markdown / 文本使用 LF
9+
*.md text eol=lf
10+
*.txt text eol=lf
11+
*.py text eol=lf
12+
*.sh text eol=lf
13+
*.yml text eol=lf
14+
*.css text eol=lf
15+
*.json text eol=lf
16+
*.toml text eol=lf
17+
.gitignore text eol=lf
18+
.textlintrc text eol=lf
19+
.autocorrectrc text eol=lf
20+
LICENSE text eol=lf
21+
.yamllint text eol=lf

0 commit comments

Comments
 (0)