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