Skip to content

Commit

Permalink
Documentation/git-checkout: fix incorrect worktree prune command
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Eric Sunshine authored and Junio C Hamano committed Jul 6, 2015
1 parent df0b6cf commit 5c31464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/git-checkout.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5c31464

Please sign in to comment.