.gitattributes and .editorconfig add (sh lf,cmd crlf)

This commit is contained in:
Tsuyoshi CHO
2019-12-29 14:20:28 +09:00
parent 38c4e67140
commit 598ce640f2
2 changed files with 26 additions and 0 deletions

14
.editorconfig Normal file
View File

@@ -0,0 +1,14 @@
root = true
# All
[*]
charset = utf-8
# Extension
[*.sh]
end_of_line = lf
[*.cmd]
end_of_line = crlf
# EOF

12
.gitattributes vendored Normal file
View File

@@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
# vim:fenc=utf-8 ff=unix
# git system files
.gitattributes eol=lf
.gitignore eol=lf
.editorconfig eol=lf
*.sh text eol=lf
*.cmd -text
# EOF