diff options
Diffstat (limited to 'Documentation/git-prune.txt')
-rw-r--r-- | Documentation/git-prune.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/git-prune.txt b/Documentation/git-prune.txt index 80d01b0571..058ac0dc85 100644 --- a/Documentation/git-prune.txt +++ b/Documentation/git-prune.txt @@ -24,6 +24,8 @@ 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'. +It also removes entries from .git/shallow that are not reachable by +any ref. Note that unreachable, packed objects will remain. If this is not desired, see linkgit:git-repack[1]. @@ -59,7 +61,7 @@ borrows from your repository via its `.git/objects/info/alternates`: ------------ -$ git prune $(cd ../another && $(git rev-parse --all)) +$ git prune $(cd ../another && git rev-parse --all) ------------ Notes |