aboutsummaryrefslogblamecommitdiff
path: root/man/man1/gscr.1
blob: d5495929c688c793996ff6f30f52c8f7545eb3fe (plain) (tree)
1
2
3
4
5
6
7
8





                                                        

       









                                                                          
                         

                               
.TH GSCR 1 "July 2016" "Manual page for gscr"
.SH NAME
.B gscr
\- scrub a Git repository to pack it and reduce its size
.SH SYNOPSIS
.B gscr
.br
.B gscr
/path/to/project/.git
.br
.B gscr
/path/to/project1 /path/to/project2
.SH DESCRIPTION
.B gscr
runs the git fsck, reflog --expire, and gc commands to get rid of dangling
commit objects in a repository and pack the repository down as small as
possible. Each command will only run if the one before it exited non-zero.
.SH SEE ALSO
git(1), fgscr(1), isgr(1)
.SH AUTHOR
Tom Ryder <tom@sanctum.geek.nz>