The source project of this merge request has been removed.
Rake tasks to perform "git gc" on repositories and update repo size in cache
I would like to submit those two rake tasks to the official Gitlab repository. We are using them for our Gitlab installation to keep repo sizes small.
gitlab:cleanup:update_repository_sizes
Read repository size from disk and update cache
gitlab:cleanup:git_gc_all_repos
cd
into all repository directories and perform git gc --quiet
command.