mirror of
https://github.com/git/git.git
synced 2024-05-28 17:26:12 +02:00
df0b6cfbda
Commit 23af91d
(prune: strategies for linked checkouts - 2014-11-30)
adds "--worktrees" to "git prune" without realizing that "git prune" is
for object database only. This patch moves the same functionality to a
new command "git worktree".
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
49 lines
673 B
Plaintext
49 lines
673 B
Plaintext
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
|