worktree: new place for "git prune --worktrees"
[git] / Documentation / git-worktree.txt
1 git-worktree(1)
2 ===============
3
4 NAME
5 ----
6 git-worktree - Manage multiple worktrees
7
8
9 SYNOPSIS
10 --------
11 [verse]
12 'git worktree prune' [-n] [-v] [--expire <expire>]
13
14 DESCRIPTION
15 -----------
16
17 Manage multiple worktrees attached to the same repository. These are
18 created by the command `git checkout --to`.
19
20 COMMANDS
21 --------
22 prune::
23
24 Prune working tree information in $GIT_DIR/worktrees.
25
26 OPTIONS
27 -------
28
29 -n::
30 --dry-run::
31         Do not remove anything; just report what it would
32         remove.
33
34 -v::
35 --verbose::
36         Report all removals.
37
38 --expire <time>::
39         Only expire unused worktrees older than <time>.
40
41 SEE ALSO
42 --------
43
44 linkgit:git-checkout[1]
45
46 GIT
47 ---
48 Part of the linkgit:git[1] suite