]> git.ipfire.org Git - thirdparty/git.git/blame - Documentation/git-worktree.txt
Documentation/git-checkout: fix incorrect worktree prune command
[thirdparty/git.git] / Documentation / git-worktree.txt
CommitLineData
df0b6cfb
NTND
1git-worktree(1)
2===============
3
4NAME
5----
6git-worktree - Manage multiple worktrees
7
8
9SYNOPSIS
10--------
11[verse]
12'git worktree prune' [-n] [-v] [--expire <expire>]
13
14DESCRIPTION
15-----------
16
17Manage multiple worktrees attached to the same repository. These are
18created by the command `git checkout --to`.
19
20COMMANDS
21--------
22prune::
23
24Prune working tree information in $GIT_DIR/worktrees.
25
26OPTIONS
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
41SEE ALSO
42--------
43
44linkgit:git-checkout[1]
45
46GIT
47---
48Part of the linkgit:git[1] suite