From e6515abca0d1b5e3612532c4a54e71f7a2682a05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Thu, 12 Nov 2020 11:29:06 +0100 Subject: [PATCH] Exclude repository-configuration from git-archive having a .gitignore file in the git-archives (e.g. like the automated archives provided by github) is rather annoying if the archive gets imported in other repositories. --- .gitattributes | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitattributes b/.gitattributes index cbedc735..7638b1f5 100644 --- a/.gitattributes +++ b/.gitattributes @@ -13,3 +13,7 @@ # to native line endings on checkout. *.c text *.h text + +# exclude repository configurations from 'git archive' +.git* export-ignore +.travis.yml export-ignore