summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Sunshine <sunshine@sunshineco.com>2020-08-04 00:55:35 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-08-04 04:32:41 (GMT)
commitdc9c144be59264b67931f9fa0068023f71e7cd35 (patch)
tree842868be2908977474564701250c21c85ffdbad4
parent1933f6ce4399262c0e4eac33e9d2893bf9824e7f (diff)
downloadgit-dc9c144be59264b67931f9fa0068023f71e7cd35.zip
git-dc9c144be59264b67931f9fa0068023f71e7cd35.tar.gz
git-dc9c144be59264b67931f9fa0068023f71e7cd35.tar.bz2
git-worktree.txt: link to man pages when citing other Git commands
When citing other Git commands, rather than merely formatting them with a fixed-width typeface, improve the reader experience by linking to them directly via `linkgit:`. Suggested-by: Martin Ă…gren <martin.agren@gmail.com> Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Reviewed-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--Documentation/git-worktree.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/git-worktree.txt b/Documentation/git-worktree.txt
index 544464f..6ee6ec7 100644
--- a/Documentation/git-worktree.txt
+++ b/Documentation/git-worktree.txt
@@ -25,8 +25,9 @@ Manage multiple working trees attached to the same repository.
A git repository can support multiple working trees, allowing you to check
out more than one branch at a time. With `git worktree add` a new working
tree is associated with the repository. This new working tree is called a
-"linked working tree" as opposed to the "main working tree" prepared by `git
-init` or `git clone`. A repository has one main working tree (if it's not a
+"linked working tree" as opposed to the "main working tree" prepared by
+linkgit:git-init[1] or linkgit:git-clone[1].
+A repository has one main working tree (if it's not a
bare repository) and zero or more linked working trees. When you are done
with a linked working tree, remove it with `git worktree remove`.