Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1 | git-prune-packed(1) |
| 2 | ===================== |
| 3 | |
| 4 | NAME |
| 5 | ---- |
Junio C Hamano | 7c73c66 | 2007-01-19 00:37:50 | [diff] [blame] | 6 | git-prune-packed - Remove extra objects that are already in pack files |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 7 | |
| 8 | |
| 9 | SYNOPSIS |
| 10 | -------- |
Junio C Hamano | fce7c7e | 2008-07-02 03:06:38 | [diff] [blame] | 11 | 'git prune-packed' [-n] [-q] |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 12 | |
| 13 | |
| 14 | DESCRIPTION |
| 15 | ----------- |
Junio C Hamano | 9810d63 | 2007-09-24 01:05:34 | [diff] [blame] | 16 | This program searches the `$GIT_OBJECT_DIR` for all objects that currently |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 17 | exist in a pack file as well as the independent object directories. |
| 18 | |
| 19 | All such extra objects are removed. |
| 20 | |
| 21 | A pack is a collection of objects, individually compressed, with delta |
| 22 | compression applied, stored in a single file, with an associated index file. |
| 23 | |
| 24 | Packs are used to reduce the load on mirror systems, backup engines, |
| 25 | disk storage, etc. |
| 26 | |
| 27 | |
| 28 | OPTIONS |
| 29 | ------- |
| 30 | -n:: |
| 31 | Don't actually remove any objects, only show those that would have been |
| 32 | removed. |
| 33 | |
Junio C Hamano | 24351a8 | 2007-01-13 08:09:17 | [diff] [blame] | 34 | -q:: |
| 35 | Squelch the progress indicator. |
| 36 | |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 37 | Author |
| 38 | ------ |
| 39 | Written by Linus Torvalds <torvalds@osdl.org> |
| 40 | |
| 41 | Documentation |
| 42 | -------------- |
| 43 | Documentation by Ryan Anderson <ryan@michonline.com> |
| 44 | |
Junio C Hamano | 9049d91 | 2008-05-29 02:09:50 | [diff] [blame] | 45 | SEE ALSO |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 46 | -------- |
Junio C Hamano | 35738e8 | 2008-01-07 07:55:46 | [diff] [blame] | 47 | linkgit:git-pack-objects[1] |
| 48 | linkgit:git-repack[1] |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 49 | |
| 50 | GIT |
| 51 | --- |
Junio C Hamano | f7c042d | 2008-06-06 22:50:53 | [diff] [blame] | 52 | Part of the linkgit:git[1] suite |