Skip to content

Files

Latest commit

2f69171 · May 17, 2013

History

History
14 lines (9 loc) · 402 Bytes

cleanup.md

File metadata and controls

14 lines (9 loc) · 402 Bytes

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