Skip to content

Commit dc9c144

Browse files
sunshinecogitster
authored andcommitted
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 <[email protected]> Signed-off-by: Eric Sunshine <[email protected]> Reviewed-by: Taylor Blau <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 1933f6c commit dc9c144

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Documentation/git-worktree.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ Manage multiple working trees attached to the same repository.
2525
A git repository can support multiple working trees, allowing you to check
2626
out more than one branch at a time. With `git worktree add` a new working
2727
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
3031
bare repository) and zero or more linked working trees. When you are done
3132
with a linked working tree, remove it with `git worktree remove`.
3233

0 commit comments

Comments
 (0)