OSDN Git Service

Revert "Since the git clone code is more efficient now we do not need this warning...
[wvm/gitlab.git] / doc / raketasks / cleanup.md
1 ### Remove garbage from filesystem. Important! Data loss!
2
3 Remove namespaces(dirs) from `/home/git/repositories` if they don't exist in GitLab database.
4
5 ```
6 bundle exec rake gitlab:cleanup:dirs RAILS_ENV=production
7 ```
8
9 Remove repositories (global only for now) from `/home/git/repositories` if they don't exist in GitLab database.
10
11 ```
12 bundle exec rake gitlab:cleanup:repos RAILS_ENV=production
13 ```
14