gitlab-org--gitlab-foss/doc/raketasks/cleanup.md
Ben Bodenmiller 2f69171a8a Typo fixes
2013-05-17 16:39:55 -06:00

402 B

Remove garbage from filesystem. Important! Data loss!

Remove namespaces(dirs) from /home/git/repositories if they don't exist in GitLab database.

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.

bundle exec rake gitlab:cleanup:repos RAILS_ENV=production