Skip to content

Commit 3ccc478

Browse files
LemmingAvalanchegitster
authored andcommitted
advice: use backticks for verbatim
Use backticks for inline-verbatim rather than single quotes. Also quote the unquoted ref globs. Also replace “the add command” with “`git add`”. Signed-off-by: Kristoffer Haugsbakk <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 95c987e commit 3ccc478

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Documentation/config/advice.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ advice.*::
22
These variables control various optional help messages designed to
33
aid new users. When left unconfigured, Git will give the message
44
alongside instructions on how to squelch it. You can tell Git
5-
that you do not need the help message by setting these to 'false':
5+
that you do not need the help message by setting these to `false`:
66
+
77
--
88
addEmbeddedRepo::
99
Shown when the user accidentally adds one
1010
git repo inside of another.
1111
addEmptyPathspec::
12-
Shown when the user runs the add command without providing
12+
Shown when the user runs `git add` without providing
1313
the pathspec parameter.
1414
addIgnoredFile::
1515
Shown when the user attempts to add an ignored file to
@@ -75,7 +75,7 @@ advice.*::
7575
non-fast-forward update to the current branch.
7676
pushNonFFMatching::
7777
Shown when the user ran linkgit:git-push[1] and pushed
78-
'matching refs' explicitly (i.e. used ':', or
78+
'matching refs' explicitly (i.e. used `:`, or
7979
specified a refspec that isn't the current branch) and
8080
it resulted in a non-fast-forward error.
8181
pushRefNeedsUpdate::
@@ -87,12 +87,12 @@ advice.*::
8787
guess based on the source and destination refs what
8888
remote ref namespace the source belongs in, but where
8989
we can still suggest that the user push to either
90-
refs/heads/* or refs/tags/* based on the type of the
90+
`refs/heads/*` or `refs/tags/*` based on the type of the
9191
source object.
9292
pushUpdateRejected::
93-
Set this variable to 'false' if you want to disable
94-
'pushNonFFCurrent', 'pushNonFFMatching', 'pushAlreadyExists',
95-
'pushFetchFirst', 'pushNeedsForce', and 'pushRefNeedsUpdate'
93+
Set this variable to `false` if you want to disable
94+
`pushNonFFCurrent`, `pushNonFFMatching`, `pushAlreadyExists`,
95+
`pushFetchFirst`, `pushNeedsForce`, and `pushRefNeedsUpdate`
9696
simultaneously.
9797
resetNoRefresh::
9898
Shown when linkgit:git-reset[1] takes more than 2

0 commit comments

Comments
 (0)