diff options
author | Junio C Hamano <junio@hera.kernel.org> | 2008-04-30 08:45:27 +0000 |
---|---|---|
committer | Junio C Hamano <junio@hera.kernel.org> | 2008-04-30 08:45:27 +0000 |
commit | 7d575a5e95514414281eb8f7d33d12c1b396edd2 (patch) | |
tree | 1e90272279f86a84a2555173a04bb793de6145d9 /git-prune.txt | |
parent | 9ab876720cbaa7bef5a4fd4e8b831d52e5b5cf04 (diff) | |
download | git-htmldocs-7d575a5e95514414281eb8f7d33d12c1b396edd2.tar.gz |
Autogenerated HTML docs for v1.5.5.1-114-g8d308
Diffstat (limited to 'git-prune.txt')
-rw-r--r-- | git-prune.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/git-prune.txt b/git-prune.txt index f151cff5d..f92bb8cfa 100644 --- a/git-prune.txt +++ b/git-prune.txt @@ -13,6 +13,9 @@ SYNOPSIS DESCRIPTION ----------- +NOTE: In most cases, users should run linkgit:git-gc[1], which calls +git-prune. See the section "NOTES", below. + 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 @@ -50,6 +53,23 @@ borrows from your repository via its $ git prune $(cd ../another && $(git-rev-parse --all)) ------------ +Notes +----- + +In most cases, users will not need to call git-prune directly, but +should instead call linkgit:git-gc[1], which handles pruning along with +many other housekeeping tasks. + +For a description of which objects are considered for pruning, see +git-fsck's --unreachable option. + +See Also +-------- + +linkgit:git-fsck[1], +linkgit:git-gc[1], +linkgit:git-reflog[1] + Author ------ Written by Linus Torvalds <torvalds@osdl.org> |