credential: ignore SIGPIPE when writing to credential helpers
[gitweb.git] / Documentation / git-worktree.txt
index f850e8ffb66a41d8d76c0cc67967f7a27782bc3c..5ac3f68ab5396ade59c25f2083088c21f94f1f93 100644 (file)
@@ -52,10 +52,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>
 ------------
@@ -118,7 +119,7 @@ OPTIONS
 --[no-]guess-remote::
        With `worktree add <path>`, without `<commit-ish>`, instead
        of creating a new branch from HEAD, if there exists a tracking
-       branch in exactly one remote matching the basename of `<path>,
+       branch in exactly one remote matching the basename of `<path>`,
        base the new branch on the remote-tracking branch, and mark
        the remote-tracking branch as "upstream" from the new branch.
 +