blob: ad9e5a613b044b8eec3214184e32c96881c73b42 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
### 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
```
|