Update git-daemon's documentation wrt. new options
[git/dscho.git] / Documentation / git-prune.txt
blob3367c9b21452db7e73ec29f03d36fd2d11b56b97
1 git-prune(1)
2 ============
4 NAME
5 ----
6 git-prune - Prunes all unreachable objects from the object database
9 SYNOPSIS
10 --------
11 'git-prune' [-n]
13 DESCRIPTION
14 -----------
16 This runs `git-fsck-objects --unreachable` using the heads
17 specified on the command line (or `$GIT_DIR/refs/heads/\*` and
18 `$GIT_DIR/refs/tags/\*` if none is specified), and prunes all
19 unreachable objects from the object database.  In addition, it
20 prunes the unpacked objects that are also found in packs by
21 running `git prune-packed`.
23 OPTIONS
24 -------
26 -n::
27         Do not remove anything; just report what it would
28         remove.
31 Author
32 ------
33 Written by Linus Torvalds <torvalds@osdl.org>
35 Documentation
36 --------------
37 Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
39 GIT
40 ---
41 Part of the gitlink:git[7] suite