2005-09-08 02:26:23 +02:00
|
|
|
git-prune(1)
|
|
|
|
============
|
2005-05-10 23:32:30 +02:00
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
2005-09-08 02:26:23 +02:00
|
|
|
git-prune - Prunes all unreachable objects from the object database
|
2005-05-10 23:32:30 +02:00
|
|
|
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2005-09-08 02:26:23 +02:00
|
|
|
'git-prune' [-n]
|
2005-05-10 23:32:30 +02:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2005-08-30 02:21:06 +02:00
|
|
|
|
2005-09-08 02:26:23 +02:00
|
|
|
This runs `git-fsck-objects --unreachable` using the heads
|
2005-08-30 02:21:06 +02:00
|
|
|
specified on the command line (or `$GIT_DIR/refs/heads/\*` and
|
|
|
|
`$GIT_DIR/refs/tags/\*` if none is specified), and prunes all
|
|
|
|
unreachable objects from the object database. In addition, it
|
|
|
|
prunes the unpacked objects that are also found in packs by
|
|
|
|
running `git prune-packed`.
|
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
-------
|
|
|
|
|
|
|
|
-n::
|
|
|
|
Do not remove anything; just report what it would
|
|
|
|
remove.
|
2005-05-10 23:32:30 +02:00
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
---
|
2005-09-19 12:10:51 +02:00
|
|
|
Part of the gitlink:git[7] suite
|
2005-05-10 23:32:30 +02:00
|
|
|
|