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 <sandals@crustytoothpaste.net> Reported-by: Casey Rodarmor <casey@rodarmor.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
brian m. carlson committed
Feb 22, 2017 at 12:34 UTC
9993a7c5f132d4f7c9cf93509cba6737ca131ef4
1 file changed
+1
-1
Documentation/git-worktree.txt
+1
-1
@@ -51,7 +51,7 @@ Create `<path>` and checkout `<branch>` into it. The new working directory
51
is linked to the current repository, sharing everything except working
52
directory specific files such as HEAD, index, etc.
53
+
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,
55
then, as a convenience, a new branch based at HEAD is created automatically,
56
as if `-b $(basename <path>)` was specified.
57