From 821e8bba6ac0761c80a41bfeea1e146e75d0100f Mon Sep 17 00:00:00 2001 From: Axel Burri Date: Mon, 5 Mar 2018 11:53:50 +0100 Subject: [PATCH] add .gitattributes (export-ignore) Effectively removes .gitignore files when using `git archive`. --- .gitattributes | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..48dd3c8 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,3 @@ +# remove files from deployment using `git archive` +.gitattributes export-ignore +.gitignore export-ignore