From 321b90937d8c44b0de059f50c05ce34c9fc98ae8 Mon Sep 17 00:00:00 2001 From: Croydon Date: Mon, 28 Sep 2020 07:20:23 +0200 Subject: [PATCH] Update .gitignore and add .gitattributes .gitattributes is a portable solution to normalize line endings when working cross-platform --- .gitattributes | 12 ++++++++++++ .gitignore | 3 +++ 2 files changed, 15 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..873311e --- /dev/null +++ b/.gitattributes @@ -0,0 +1,12 @@ +*.py text eol=lf +*.yml text eol=lf +*.diff text eol=lf +*.conf text eol=lf +*.md text eol=lf +*.cc text eol=lf +*.hh text eol=lf +*.txt text eol=lf +*.build text eol=lf +*.gitattributes text eol=lf +*.gitignores text eol=lf +*.wrap text eol=lf diff --git a/.gitignore b/.gitignore index f825506..bd2e436 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,6 @@ subprojects/libostd *.o *.core *.so +build/ +.idea/ +.vscode/