diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2006-12-27 02:17:59 -0500 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-12-27 01:53:03 -0800 |
commit | 30f610b7b09a579aeba343317114bf18b4fd92bf (patch) | |
tree | 010e90ddf832d8d51567fffc6a00aa6038d57303 /Makefile | |
parent | git-reflog: gc.* configuration and documentation. (diff) | |
download | tgif-30f610b7b09a579aeba343317114bf18b4fd92bf.tar.xz |
Create 'git gc' to perform common maintenance operations.
Junio asked for a 'git gc' utility which users can execute on a
regular basis to perform basic repository actions such as:
* pack-refs --prune
* reflog expire
* repack -a -d
* prune
* rerere gc
So here is a command which does exactly that. The parameters fed
to reflog's expire subcommand can be chosen by the user by setting
configuration options in .git/config (or ~/.gitconfig), as users may
want different expiration windows for each repository but shouldn't
be bothered to remember what they are all of the time.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -157,7 +157,7 @@ BASIC_LDFLAGS = SCRIPT_SH = \ git-bisect.sh git-checkout.sh \ git-clean.sh git-clone.sh git-commit.sh \ - git-fetch.sh \ + git-fetch.sh git-gc.sh \ git-ls-remote.sh \ git-merge-one-file.sh git-parse-remote.sh \ git-pull.sh git-rebase.sh \ |