Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 559 Bytes

cleanup.md

File metadata and controls

20 lines (13 loc) · 559 Bytes

Remove grabage from gitolite config and filesystem. Important! Data loss!

Remove projects from gitolite config if they dont exist in GitLab database

bundle exec rake gitlab:cleanup:config RAILS_ENV=production

Remove namespaces(dirs) from /home/git/repositories if they dont 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 dont exist in GitLab database

bundle exec rake gitlab:cleanup:repos RAILS_ENV=production