Skip to content

Commit 9993a7c

Browse files
bk2204gitster
authored andcommitted
Documentation: correctly spell git worktree --detach
The option is “--detach”, but we accidentally spelled it “--detached” at one point in the man page. Signed-off-by: brian m. carlson <[email protected]> Reported-by: Casey Rodarmor <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 5c94257 commit 9993a7c

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
@@ -51,7 +51,7 @@ Create `<path>` and checkout `<branch>` into it. The new working directory
5151
is linked to the current repository, sharing everything except working
5252
directory specific files such as HEAD, index, etc.
5353
+
54-
If `<branch>` is omitted and neither `-b` nor `-B` nor `--detached` used,
54+
If `<branch>` is omitted and neither `-b` nor `-B` nor `--detach` used,
5555
then, as a convenience, a new branch based at HEAD is created automatically,
5656
as if `-b $(basename <path>)` was specified.
5757

0 commit comments

Comments
 (0)