Skip to content

Commit d3717e1

Browse files
jnavilagitster
authored andcommitted
doc: git-clone: format verbatim words
We also apply the formatting to urls.txt which is included. Signed-off-by: Jean-Noël Avila <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent e7b3a76 commit d3717e1

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Documentation/git-clone.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ objects from the source repository into a pack in the cloned repository.
156156

157157
--[no-]reject-shallow::
158158
Fail if the source repository is a shallow repository.
159-
The 'clone.rejectShallow' configuration variable can be used to
159+
The `clone.rejectShallow` configuration variable can be used to
160160
specify the default.
161161

162162
--bare::
@@ -263,7 +263,7 @@ corresponding `--mirror` and `--no-tags` options instead.
263263
branch remote's `HEAD` points at.
264264
Further fetches into the resulting repository will only update the
265265
remote-tracking branch for the branch this option was used for the
266-
initial cloning. If the HEAD at the remote did not point at any
266+
initial cloning. If the `HEAD` at the remote did not point at any
267267
branch when `--single-branch` clone was made, no remote-tracking
268268
branch is created.
269269

Documentation/urls.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,20 @@ syntaxes may be used:
4444

4545
ifndef::git-clone[]
4646
These two syntaxes are mostly equivalent, except when cloning, when
47-
the former implies --local option. See linkgit:git-clone[1] for
47+
the former implies `--local` option. See linkgit:git-clone[1] for
4848
details.
4949
endif::git-clone[]
5050

5151
ifdef::git-clone[]
5252
These two syntaxes are mostly equivalent, except the former implies
53-
--local option.
53+
`--local` option.
5454
endif::git-clone[]
5555

56-
'git clone', 'git fetch' and 'git pull', but not 'git push', will also
56+
`git clone`, `git fetch` and `git pull`, but not `git push`, will also
5757
accept a suitable bundle file. See linkgit:git-bundle[1].
5858

5959
When Git doesn't know how to handle a certain transport protocol, it
60-
attempts to use the 'remote-<transport>' remote helper, if one
60+
attempts to use the `remote-<transport>` remote helper, if one
6161
exists. To explicitly request a remote helper, the following syntax
6262
may be used:
6363

0 commit comments

Comments
 (0)