X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-prune.txt;h=54f1dab38de9e01d8452753ac6028875b91d5f6b;hb=6cd3729eae8d8945c0482423149163d40afd082c;hp=3178bc44ca4640e77a799128c9de631168e40c8a;hpb=1fe82d609f9a6ec146fa39880a04e11eb5275810;p=git.git diff --git a/Documentation/git-prune.txt b/Documentation/git-prune.txt index 3178bc44c..da6055d4b 100644 --- a/Documentation/git-prune.txt +++ b/Documentation/git-prune.txt @@ -8,21 +8,21 @@ git-prune - Prune all unreachable objects from the object database SYNOPSIS -------- -'git-prune' [-n] [--expire ] [--] [...] +'git-prune' [-n] [-v] [--expire ] [--] [...] DESCRIPTION ----------- -NOTE: In most cases, users should run linkgit:git-gc[1], which calls -git-prune. See the section "NOTES", below. +NOTE: In most cases, users should run 'git-gc', which calls +'git-prune'. See the section "NOTES", below. -This runs `git-fsck --unreachable` using all the refs +This runs 'git-fsck --unreachable' using all the refs available in `$GIT_DIR/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 prunes the unpacked objects that are also found in packs by -running `git prune-packed`. +running 'git-prune-packed'. Note that unreachable, packed objects will remain. If this is not desired, see linkgit:git-repack[1]. @@ -34,10 +34,13 @@ OPTIONS Do not remove anything; just report what it would remove. +-v:: + Report all removed objects. + \--:: Do not interpret any more arguments as options. -\--expire