index 3bb7304517ea3adfd2b5b89b5e75f9d830e57aff..80d01b05710e250a5f1d548fca3fba54d50e0f29 100644 (file)
SYNOPSIS
--------
SYNOPSIS
--------
+[verse]
'git prune' [-n] [-v] [--expire <expire>] [--] [<head>...]
DESCRIPTION
'git prune' [-n] [-v] [--expire <expire>] [--] [<head>...]
DESCRIPTION
'git prune'. See the section "NOTES", below.
This runs 'git fsck --unreachable' using all the refs
'git prune'. See the section "NOTES", below.
This runs 'git fsck --unreachable' using all the refs
-available in `$GIT_DIR/refs`, optionally with additional set of
+available in `refs/`, optionally with additional set of
objects specified on the command line, and prunes all unpacked
objects unreachable from any of these head objects from the object database.
In addition, it
objects specified on the command line, and prunes all unpacked
objects unreachable from any of these head objects from the object database.
In addition, it
-------
-n::
-------
-n::
+--dry-run::
Do not remove anything; just report what it would
remove.
-v::
Do not remove anything; just report what it would
remove.
-v::
+--verbose::
Report all removed objects.
\--::
Report all removed objects.
\--::
linkgit:git-gc[1],
linkgit:git-reflog[1]
linkgit:git-gc[1],
linkgit:git-reflog[1]
-Author
-------
-Written by Linus Torvalds <torvalds@osdl.org>
-
-Documentation
---------------
-Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
-
GIT
---
Part of the linkgit:git[1] suite
GIT
---
Part of the linkgit:git[1] suite