Update .gitignore and add .gitattributes

.gitattributes is a portable solution to normalize line endings when working cross-platform
master
Croydon 2020-09-28 07:20:23 +02:00
parent 4e7b7159a0
commit 321b90937d
2 changed files with 15 additions and 0 deletions

12
.gitattributes vendored 100644
View File

@ -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

3
.gitignore vendored
View File

@ -2,3 +2,6 @@ subprojects/libostd
*.o
*.core
*.so
build/
.idea/
.vscode/