]> git.ipfire.org Git - thirdparty/git.git/blame - Documentation/git-prune-script.txt
GIT 0.99.6
[thirdparty/git.git] / Documentation / git-prune-script.txt
CommitLineData
2cf565c5
DG
1git-prune-script(1)
2===================
f85a4191 3v0.99.5, Aug 2005
2cf565c5
DG
4
5NAME
6----
7git-prune-script - Prunes all unreachable objects from the object database
8
9
10SYNOPSIS
11--------
f85a4191 12'git-prune-script' [-n]
2cf565c5
DG
13
14DESCRIPTION
15-----------
f85a4191
JH
16
17This runs `git-fsck-cache --unreachable` using the heads
18specified on the command line (or `$GIT_DIR/refs/heads/\*` and
19`$GIT_DIR/refs/tags/\*` if none is specified), and prunes all
20unreachable objects from the object database. In addition, it
21prunes the unpacked objects that are also found in packs by
22running `git prune-packed`.
23
24OPTIONS
25-------
26
27-n::
28 Do not remove anything; just report what it would
29 remove.
2cf565c5
DG
30
31
32Author
33------
34Written by Linus Torvalds <torvalds@osdl.org>
35
36Documentation
37--------------
38Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
39
40GIT
41---
42Part of the link:git.html[git] suite
43