From f0b1942ff63ee7c96916ea2cb33ef1330d68c221 Mon Sep 17 00:00:00 2001 From: Achilleas Pipinellis <axilleas@axilleas.me> Date: Fri, 28 Apr 2017 12:57:53 +0200 Subject: [PATCH] Ignore all directories starting with `repositories` When using the backup/restore task, GitLab copies the repositories directory to a place like repositories.old.1493107724. This was resulting in Git complaining about untracked files. Ignoring everything starting with repositories solves that issue. --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 0bbc648..374c0ff 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ /gitlab-shell/ /.ssh/ /gitlab-satellites/ -/repositories/ +/repositories* /gitlab/ /Procfile /postgresql/data -- GitLab