mirror of
https://github.com/git/git
synced 2024-08-27 11:39:22 +00:00
Merge branch 'bc/worktree-doc-fix-detached'
Doc update. * bc/worktree-doc-fix-detached: Documentation: correctly spell git worktree --detach
This commit is contained in:
commit
dc9ded4802
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue