Documentation/git-worktree: associate options with commands
[git/mingw/j6t.git] / Documentation / git-worktree.txt
blob1ac1217b0fd4f7c48d354bbf446d9e36313e9c0e
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         With `prune`, do not remove anything; just report what it would
32         remove.
34 -v::
35 --verbose::
36         With `prune`, report all removals.
38 --expire <time>::
39         With `prune`, 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