避免 windows 下 git 修改换行符

This commit is contained in:
wuduoyi 2020-11-23 13:17:06 +08:00
parent 0988b5452f
commit 69cef0e494

10
.gitattributes vendored Normal file
View File

@ -0,0 +1,10 @@
# 避免 windows 下自动转
*.md text eol=crlf
*.ts text eol=crlf
*.js text eol=crlf
*.tsx text eol=crlf
*.jsx text eol=crlf
*.scss text eol=crlf
*.css text eol=crlf
*.svg text eol=crlf
*.json text eol=crlf