2013-02-25 20:45:33 +01:00
|
|
|
### Remove grabage from filesystem. Important! Data loss!
|
2013-01-05 23:30:38 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
```
|
|
|
|
|