summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorEric Sunshine <sunshine@sunshineco.com>2015-07-06 17:30:38 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-07-06 18:07:42 (GMT)
commit5c3146487459b80898b50686740bb273b2c2b022 (patch)
treef467f14cb8150a2cdbefb82c67634e59f1b89880 /Documentation
parentdf0b6cfbda88144714541664fb501146d6465a82 (diff)
downloadgit-5c3146487459b80898b50686740bb273b2c2b022.zip
git-5c3146487459b80898b50686740bb273b2c2b022.tar.gz
git-5c3146487459b80898b50686740bb273b2c2b022.tar.bz2
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>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-checkout.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-checkout.txt b/Documentation/git-checkout.txt
index 72def5b..ce223e6 100644
--- a/Documentation/git-checkout.txt
+++ b/Documentation/git-checkout.txt
@@ -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