aboutsummaryrefslogtreecommitdiff
path: root/man/man1/gscr.1
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-07-01 10:19:41 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-07-01 10:20:22 +1200
commit3f53e69552a0780bf7783d2b6bb9f5ad456cf491 (patch)
treef637d76ace065bb445e551cc9c7d2362dcaec42e /man/man1/gscr.1
parentUpdate submodules (diff)
downloaddotfiles-3f53e69552a0780bf7783d2b6bb9f5ad456cf491.tar.gz
dotfiles-3f53e69552a0780bf7783d2b6bb9f5ad456cf491.zip
Add gscr(1), fgscr(1)
Diffstat (limited to 'man/man1/gscr.1')
-rw-r--r--man/man1/gscr.119
1 files changed, 19 insertions, 0 deletions
diff --git a/man/man1/gscr.1 b/man/man1/gscr.1
new file mode 100644
index 00000000..495b6a33
--- /dev/null
+++ b/man/man1/gscr.1
@@ -0,0 +1,19 @@
+.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
+/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)
+.SH AUTHOR
+Tom Ryder <tom@sanctum.geek.nz>