summaryrefslogtreecommitdiff
path: root/Documentation/git-worktree.txt
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2017-02-24 10:48:10 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-02-24 10:48:10 -0800
commitdc9ded480245c1014b526c4b951d1acb3a60d3fa (patch)
treec3bd12a601258924d1904f582a7653ca391410b4 /Documentation/git-worktree.txt
parentMerge branch 'dr/doc-check-ref-format-normalize' (diff)
parentDocumentation: correctly spell git worktree --detach (diff)
downloadtgif-dc9ded480245c1014b526c4b951d1acb3a60d3fa.tar.xz
Merge branch 'bc/worktree-doc-fix-detached'
Doc update. * bc/worktree-doc-fix-detached: Documentation: correctly spell git worktree --detach
Diffstat (limited to 'Documentation/git-worktree.txt')
-rw-r--r--Documentation/git-worktree.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-worktree.txt b/Documentation/git-worktree.txt
index e257c19ebe..553cf8413f 100644
--- a/Documentation/git-worktree.txt
+++ b/Documentation/git-worktree.txt
@@ -52,7 +52,7 @@ is linked to the current repository, sharing everything except working
directory specific files such as HEAD, index, etc. `-` may also be
specified as `<branch>`; it is synonymous with `@{-1}`.
+
-If `<branch>` is omitted and neither `-b` nor `-B` nor `--detached` used,
+If `<branch>` is omitted and neither `-b` nor `-B` nor `--detach` used,
then, as a convenience, a new branch based at HEAD is created automatically,
as if `-b $(basename <path>)` was specified.