From: brian m. carlson Date: Wed, 22 Feb 2017 12:34:42 +0000 (+0000) Subject: Documentation: correctly spell git worktree --detach X-Git-Tag: v2.12.0~2^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/9993a7c5f132d4f7c9cf93509cba6737ca131ef4?hp=--cc 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 Reported-by: Casey Rodarmor Signed-off-by: Junio C Hamano --- 9993a7c5f132d4f7c9cf93509cba6737ca131ef4 diff --git a/Documentation/git-worktree.txt b/Documentation/git-worktree.txt index 332dd7734d..190e269515 100644 --- a/Documentation/git-worktree.txt +++ b/Documentation/git-worktree.txt @@ -51,7 +51,7 @@ Create `` and checkout `` into it. The new working directory is linked to the current repository, sharing everything except working directory specific files such as HEAD, index, etc. + -If `` is omitted and neither `-b` nor `-B` nor `--detached` used, +If `` 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 )` was specified.