L
o
a
d
i
n
g
.
.
.
https://michele.zonca.org

git-gc

By Michele Zonca

23 February 2012

NAME

       git-gc - Cleanup unnecessary files and optimize the local repository

SYNOPSIS

       git gc [–aggressive] [–auto] [–quiet] [–prune=<date> –no-prune]

DESCRIPTION

       Runs a number of housekeeping tasks within the current repository, such

       as compressing file revisions (to reduce disk space and increase

       performance) and removing unreachable objects which may have been

       created from prior invocations of git add.