mirror of
https://github.com/git/git
synced 2024-08-24 18:26:02 +00:00
Documentation/git-checkout: fix incorrect worktree prune command
This was missed when "git prune --worktrees" became "git worktree prune". Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
df0b6cfbda
commit
5c31464874
|
@ -444,7 +444,7 @@ When you are done with a linked working tree you can simply delete it.
|
|||
The working tree's entry in the repository's $GIT_DIR/worktrees
|
||||
directory will eventually be removed automatically (see
|
||||
`gc.pruneworktreesexpire` in linkgit::git-config[1]), or you can run
|
||||
`git prune --worktrees` in the main or any linked working tree to
|
||||
`git worktree prune` in the main or any linked working tree to
|
||||
clean up any stale entries in $GIT_DIR/worktrees.
|
||||
|
||||
If you move a linked working directory to another file system, or
|
||||
|
|
Loading…
Reference in a new issue