From fc2d837a2ca36683271f8e9a26945b038a1c1a6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Birger=20J=2E=20Nord=C3=B8lum?= Date: Wed, 13 Jun 2018 11:04:50 +0200 Subject: [PATCH] .gitattributes: More settings added --- .gitattributes | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/.gitattributes b/.gitattributes index 967315dd..4f4cc3f7 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,5 +1,49 @@ +# Configuration file for Git attributes + +# Core Settings {{{ +# .gitattributes +.gitattributes !filter !diff + +# Line Endings * text=auto + +# Set binary to none-text files +*.png -text + +# }}} + + +# GitHub Linguist {{{ + +# Exclude files/folder from being detected by the GitHub linguist +# statistic. +node_modules/* linguist-vendored +public/* linguist-generated=true +vendor/* linguist-vendored + +# Remove Vue as it's currently not used in the project. +resources/assets/js/components/ExampleComponent.vue linguist-vendored + +# System Wide *.css linguist-vendored *.scss linguist-vendored *.js linguist-vendored + +# Include user generated files that's removed bu the setting above. +resources/assets/js/app.js linguist-vendored=false +resources/assets/sass/_app.scss linguist-vendored=false +resources/assets/sass/_rune.scss linguist-vendored=false +resources/assets/sass/_variables.scss linguist-vendored=false + +# }}} + + +# Archive Exlude {{{ +# Exclude files/folders from being exported when creating an archive. + +.gitattributes export-ignore +.gitignore export-ignore +.travis.yml export-ignore CHANGELOG.md export-ignore + +# }}}