summaryrefslogtreecommitdiff
path: root/Documentation/git-worktree.txt
blob: 41103e548541f250300cfb8b5888d239fc8f6d63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
git-worktree(1)
===============

NAME
----
git-worktree - Manage multiple worktrees


SYNOPSIS
--------
[verse]
'git worktree prune' [-n] [-v] [--expire <expire>]

DESCRIPTION
-----------

Manage multiple worktrees attached to the same repository. These are
created by the command `git checkout --to`.

COMMANDS
--------
prune::

Prune working tree information in $GIT_DIR/worktrees.

OPTIONS
-------

-n::
--dry-run::
	Do not remove anything; just report what it would
	remove.

-v::
--verbose::
	Report all removals.

--expire <time>::
	Only expire unused worktrees older than <time>.

SEE ALSO
--------

linkgit:git-checkout[1]

GIT
---
Part of the linkgit:git[1] suite