From d88d16c18645d8e0de3c902bf6e91101e658a3f8 Mon Sep 17 00:00:00 2001 From: Alf Gaida Date: Mon, 26 Feb 2018 09:03:42 +0100 Subject: [PATCH] Add .gitattributes Some files shouldn't be exported with git archive. --- .gitattributes | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..4174890 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,17 @@ +# remove files from deployment using `git archive` + +# common files +.commit-template export-ignore +.gitattributes export-ignore +.gitignore export-ignore +.mailmap export-ignore +.travis.yml export-ignore + +# several files and directories we never want to export +# a little bit belt and braces as the most of these files +# should never ever be in the repository + +*~ export-ignore +.kdev4 export-ignore +*build* export-ignore +*.user export-ignore