2005-08-16 06:48:47 +08:00
|
|
|
git-prune-packed(1)
|
|
|
|
=====================
|
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
2007-01-19 07:53:37 +08:00
|
|
|
git-prune-packed - Remove extra objects that are already in pack files
|
2005-08-16 06:48:47 +08:00
|
|
|
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2011-07-02 10:38:26 +08:00
|
|
|
[verse]
|
2009-07-08 13:15:41 +08:00
|
|
|
'git prune-packed' [-n|--dry-run] [-q|--quiet]
|
2005-12-06 13:13:03 +08:00
|
|
|
|
2005-08-16 06:48:47 +08:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2013-09-24 03:19:19 +08:00
|
|
|
This program searches the `$GIT_OBJECT_DIRECTORY` for all objects that currently
|
2005-12-06 13:13:03 +08:00
|
|
|
exist in a pack file as well as the independent object directories.
|
2005-08-16 06:48:47 +08:00
|
|
|
|
|
|
|
All such extra objects are removed.
|
|
|
|
|
|
|
|
A pack is a collection of objects, individually compressed, with delta
|
|
|
|
compression applied, stored in a single file, with an associated index file.
|
|
|
|
|
2005-12-06 13:13:03 +08:00
|
|
|
Packs are used to reduce the load on mirror systems, backup engines,
|
|
|
|
disk storage, etc.
|
|
|
|
|
2005-08-16 06:48:47 +08:00
|
|
|
|
2005-11-15 07:20:01 +08:00
|
|
|
OPTIONS
|
|
|
|
-------
|
|
|
|
-n::
|
2009-07-08 13:15:41 +08:00
|
|
|
--dry-run::
|
2005-11-15 07:20:01 +08:00
|
|
|
Don't actually remove any objects, only show those that would have been
|
|
|
|
removed.
|
|
|
|
|
2007-01-13 07:00:13 +08:00
|
|
|
-q::
|
2009-07-08 13:15:41 +08:00
|
|
|
--quiet::
|
2007-01-13 07:00:13 +08:00
|
|
|
Squelch the progress indicator.
|
|
|
|
|
2008-05-29 07:55:27 +08:00
|
|
|
SEE ALSO
|
2005-08-16 06:48:47 +08:00
|
|
|
--------
|
2007-12-29 14:20:38 +08:00
|
|
|
linkgit:git-pack-objects[1]
|
|
|
|
linkgit:git-repack[1]
|
2005-08-16 06:48:47 +08:00
|
|
|
|
|
|
|
GIT
|
|
|
|
---
|
2008-06-06 15:07:32 +08:00
|
|
|
Part of the linkgit:git[1] suite
|