@matheusbsbs / matheus-bagliano / commits / dc9c144be5
Fork 0

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>

Eric Sunshine committed Aug 3, 2020 at 20:55 UTC dc9c144be59264b67931f9fa0068023f71e7cd35
1 file changed +3 -2
Documentation/git-worktree.txt
+3 -2
@@ -25,8 +25,9 @@ Manage multiple working trees attached to the same repository.
25 A git repository can support multiple working trees, allowing you to check
26 out more than one branch at a time. With `git worktree add` a new working
27 tree is associated with the repository. This new working tree is called a
28 -"linked working tree" as opposed to the "main working tree" prepared by `git
29 -init` or `git clone`. A repository has one main working tree (if it's not a
28 +"linked working tree" as opposed to the "main working tree" prepared by
29 +linkgit:git-init[1] or linkgit:git-clone[1].
30 +A repository has one main working tree (if it's not a
31 bare repository) and zero or more linked working trees. When you are done
32 with a linked working tree, remove it with `git worktree remove`.
33