]> git.ipfire.org Git - thirdparty/git.git/commitdiff
git-worktree.txt: link to man pages when citing other Git commands
authorEric Sunshine <sunshine@sunshineco.com>
Tue, 4 Aug 2020 00:55:35 +0000 (20:55 -0400)
committerJunio C Hamano <gitster@pobox.com>
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 <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>
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`.