From 598ce640f24f601c8d4e6b8b287f5e5212978370 Mon Sep 17 00:00:00 2001 From: Tsuyoshi CHO Date: Sun, 29 Dec 2019 14:20:28 +0900 Subject: .gitattributes and .editorconfig add (sh lf,cmd crlf) --- .editorconfig | 14 ++++++++++++++ .gitattributes | 12 ++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 .editorconfig create mode 100644 .gitattributes diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..06f8939 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ +root = true + +# All +[*] +charset = utf-8 + +# Extension +[*.sh] +end_of_line = lf + +[*.cmd] +end_of_line = crlf + +# EOF diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..4008ef7 --- /dev/null +++ b/.gitattributes @@ -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 -- cgit v1.2.3-54-g00ecf