Skip to content

Rake tasks to perform "git gc" on repositories and update repo size in cache

Ghost User requested to merge (removed):feature/git_gc_task into master

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.

Merge request reports