diff options
Diffstat (limited to 'doc/raketasks/cleanup.md')
-rw-r--r-- | doc/raketasks/cleanup.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/raketasks/cleanup.md b/doc/raketasks/cleanup.md index 4b3b6d71a75..9e48f56c951 100644 --- a/doc/raketasks/cleanup.md +++ b/doc/raketasks/cleanup.md @@ -5,11 +5,19 @@ Remove namespaces(dirs) from `/home/git/repositories` if they don't exist in GitLab database. ``` +# omnibus-gitlab +sudo gitlab-rake gitlab:cleanup:dirs + +# installation from source or cookbook bundle exec rake gitlab:cleanup:dirs RAILS_ENV=production ``` Remove repositories (global only for now) from `/home/git/repositories` if they don't exist in GitLab database. ``` +# omnibus-gitlab +sudo gitlab-rake gitlab:cleanup:repos + +# installation from source or cookbook bundle exec rake gitlab:cleanup:repos RAILS_ENV=production ``` |