Merge branch 'es/worktree-docs'
[gitweb.git] / Documentation / git-worktree.txt
index 70492bf6ca4da291bcee86b91ee7c08d9eb19948..2755ca90e3a457538a2f7a016fbe944b7e51b88b 100644 (file)
@@ -51,10 +51,11 @@ is linked to the current repository, sharing everything except working
 directory specific files such as HEAD, index, etc. `-` may also be
 specified as `<commit-ish>`; it is synonymous with `@{-1}`.
 +
-If <commit-ish> is a branch name (call it `<branch>` and is not found,
+If <commit-ish> is a branch name (call it `<branch>`) and is not found,
 and neither `-b` nor `-B` nor `--detach` are used, but there does
 exist a tracking branch in exactly one remote (call it `<remote>`)
-with a matching name, treat as equivalent to
+with a matching name, treat as equivalent to:
++
 ------------
 $ git worktree add --track -b <branch> <path> <remote>/<branch>
 ------------