Documentation: correctly spell git worktree --detach
[gitweb.git] / Documentation / git-worktree.txt
index 332dd7734dfc3acca9e473b86bd0d6e30669750e..190e269515aeae3f58be7408a4747e2c56e57bf0 100644 (file)
@@ -51,7 +51,7 @@ Create `<path>` and checkout `<branch>` 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 `<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.