Skip to content

Commit dc9ded4

Browse files
committed
Merge branch 'bc/worktree-doc-fix-detached'
Doc update. * bc/worktree-doc-fix-detached: Documentation: correctly spell git worktree --detach
2 parents c6788b1 + 9993a7c commit dc9ded4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/git-worktree.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ is linked to the current repository, sharing everything except working
5252
directory specific files such as HEAD, index, etc. `-` may also be
5353
specified as `<branch>`; it is synonymous with `@{-1}`.
5454
+
55-
If `<branch>` is omitted and neither `-b` nor `-B` nor `--detached` used,
55+
If `<branch>` is omitted and neither `-b` nor `-B` nor `--detach` used,
5656
then, as a convenience, a new branch based at HEAD is created automatically,
5757
as if `-b $(basename <path>)` was specified.
5858

0 commit comments

Comments
 (0)