| 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 | 15567bc | 2011-07-23 00:51:59 | [diff] [blame] | 11 | [verse] | 
| Junio C Hamano | fd9274d | 2009-08-05 21:21:39 | [diff] [blame] | 12 | 'git prune-packed' [-n|--dry-run] [-q|--quiet] | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 13 |  | 
 | 14 |  | 
 | 15 | DESCRIPTION | 
 | 16 | ----------- | 
| Junio C Hamano | 9810d63 | 2007-09-24 01:05:34 | [diff] [blame] | 17 | This program searches the `$GIT_OBJECT_DIR` for all objects that currently | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 18 | exist in a pack file as well as the independent object directories. | 
 | 19 |  | 
 | 20 | All such extra objects are removed. | 
 | 21 |  | 
 | 22 | A pack is a collection of objects, individually compressed, with delta | 
 | 23 | compression applied, stored in a single file, with an associated index file. | 
 | 24 |  | 
 | 25 | Packs are used to reduce the load on mirror systems, backup engines, | 
 | 26 | disk storage, etc. | 
 | 27 |  | 
 | 28 |  | 
 | 29 | OPTIONS | 
 | 30 | ------- | 
 | 31 | -n:: | 
| Junio C Hamano | fd9274d | 2009-08-05 21:21:39 | [diff] [blame] | 32 | --dry-run:: | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 33 |  Don't actually remove any objects, only show those that would have been | 
 | 34 |  removed. | 
 | 35 |  | 
| Junio C Hamano | 24351a8 | 2007-01-13 08:09:17 | [diff] [blame] | 36 | -q:: | 
| Junio C Hamano | fd9274d | 2009-08-05 21:21:39 | [diff] [blame] | 37 | --quiet:: | 
| Junio C Hamano | 24351a8 | 2007-01-13 08:09:17 | [diff] [blame] | 38 | Squelch the progress indicator. | 
 | 39 |  | 
| Junio C Hamano | 9049d91 | 2008-05-29 02:09:50 | [diff] [blame] | 40 | SEE ALSO | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 41 | -------- | 
| Junio C Hamano | 35738e8 | 2008-01-07 07:55:46 | [diff] [blame] | 42 | linkgit:git-pack-objects[1] | 
 | 43 | linkgit:git-repack[1] | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 44 |  | 
 | 45 | GIT | 
 | 46 | --- | 
| Junio C Hamano | f7c042d | 2008-06-06 22:50:53 | [diff] [blame] | 47 | Part of the linkgit:git[1] suite |