git-worktree.txt: link to man pages when citing other Git commands
authorEric Sunshine <redacted>
Tue, 4 Aug 2020 00:55:35 +0000 (20:55 -0400)
committerJunio C Hamano <redacted>
Tue, 4 Aug 2020 04:32:41 +0000 (21:32 -0700)
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 <redacted>
Signed-off-by: Eric Sunshine <redacted>
Reviewed-by: Taylor Blau <redacted>
Signed-off-by: Junio C Hamano <redacted>
Documentation/git-worktree.txt

index 544464f949ac4bf80ca6d6f4fbaade7085a66a77..6ee6ec79824a6a8e43d2411b9226c72a49d52c9e 100644 (file)
@@ -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`.
 
git clone https://git.99rst.org/PROJECT