summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorTobias Henkel <tobias.henkel@bmw.de>2018-12-02 09:12:25 +0100
committerTobias Henkel <tobias.henkel@bmw.de>2018-12-02 09:12:25 +0100
commit5c97994f9f534eeb5544a7b32b0b91b1c74605eb (patch)
treee6984d0db0df22e7e142459b9ce74d72a6402357 /.gitignore
parent9f849e1f9935c366f99181ee115a06bdc8cac505 (diff)
downloadzuul-5c97994f9f534eeb5544a7b32b0b91b1c74605eb.tar.gz
Fix ignored but tracked .keep file
We ignore the directory zuul/web/static but want to keep the directory itself existing. We do this by having a .keep file in there which is excluded in the gitignore file. However we currently ignore the complete directory zuul/web/static so git ignores the exclude rule. Thus the .keep file is ignored but tracked which is not really what we want. Instead ignore all files below zuul/web/static. This way the exclude rule works and the .keep file is not ignored. Change-Id: I3b17d1c48c6da2c5920816153a1265dbec591d38
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 55cbe13af..def55fe02 100644
--- a/.gitignore
+++ b/.gitignore
@@ -19,7 +19,7 @@ zuul/versioninfo
dist/
cover/
htmlcov/
-zuul/web/static
+zuul/web/static/*
!.keep
node_modules
yarn-error.log