@@ -2,27 +2,27 @@ advice.*::
2
2
These variables control various optional help messages designed to
3
3
aid new users. When left unconfigured, Git will give the message
4
4
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` :
6
6
+
7
7
--
8
8
addEmbeddedRepo::
9
- Advice on what to do when you've accidentally added one
9
+ Shown when the user accidentally adds one
10
10
git repo inside of another.
11
11
addEmptyPathspec::
12
- Advice shown if a user runs the add command without providing
12
+ Shown when the user runs `git add` without providing
13
13
the pathspec parameter.
14
14
addIgnoredFile::
15
- Advice shown if a user attempts to add an ignored file to
15
+ Shown when the user attempts to add an ignored file to
16
16
the index.
17
17
amWorkDir::
18
- Advice that shows the location of the patch file when
19
- linkgit:git-am[1] fails to apply it .
18
+ Shown when linkgit:git-am[1] fails to apply a patch
19
+ file, to tell the user the location of the file .
20
20
ambiguousFetchRefspec::
21
- Advice shown when a fetch refspec for multiple remotes maps to
21
+ Shown when a fetch refspec for multiple remotes maps to
22
22
the same remote-tracking branch namespace and causes branch
23
23
tracking set-up to fail.
24
24
checkoutAmbiguousRemoteBranchName::
25
- Advice shown when the argument to
25
+ Shown when the argument to
26
26
linkgit:git-checkout[1] and linkgit:git-switch[1]
27
27
ambiguously resolves to a
28
28
remote tracking branch on more than one remote in
@@ -33,31 +33,31 @@ advice.*::
33
33
to be used by default in some situations where this
34
34
advice would be printed.
35
35
commitBeforeMerge::
36
- Advice shown when linkgit:git-merge[1] refuses to
36
+ Shown when linkgit:git-merge[1] refuses to
37
37
merge to avoid overwriting local changes.
38
38
detachedHead::
39
- Advice shown when you used
39
+ Shown when the user uses
40
40
linkgit:git-switch[1] or linkgit:git-checkout[1]
41
- to move to the detached HEAD state, to instruct how to
42
- create a local branch after the fact.
41
+ to move to the detached HEAD state, to tell the user how
42
+ to create a local branch after the fact.
43
43
diverging::
44
- Advice shown when a fast-forward is not possible.
44
+ Shown when a fast-forward is not possible.
45
45
fetchShowForcedUpdates::
46
- Advice shown when linkgit:git-fetch[1] takes a long time
46
+ Shown when linkgit:git-fetch[1] takes a long time
47
47
to calculate forced updates after ref updates, or to warn
48
48
that the check is disabled.
49
49
forceDeleteBranch::
50
- Advice shown when a user tries to delete a not fully merged
50
+ Shown when the user tries to delete a not fully merged
51
51
branch without the force option set.
52
52
ignoredHook::
53
- Advice shown if a hook is ignored because the hook is not
53
+ Shown when a hook is ignored because the hook is not
54
54
set as executable.
55
55
implicitIdentity::
56
- Advice on how to set your identity configuration when
57
- your information is guessed from the system username and
58
- domain name .
56
+ Shown when the user's information is guessed from the
57
+ system username and domain name, to tell the user how to
58
+ set their identity configuration .
59
59
nestedTag::
60
- Advice shown if a user attempts to recursively tag a tag object.
60
+ Shown when a user attempts to recursively tag a tag object.
61
61
pushAlreadyExists::
62
62
Shown when linkgit:git-push[1] rejects an update that
63
63
does not qualify for fast-forwarding (e.g., a tag.)
@@ -71,12 +71,12 @@ advice.*::
71
71
object that is not a commit-ish, or make the remote
72
72
ref point at an object that is not a commit-ish.
73
73
pushNonFFCurrent::
74
- Advice shown when linkgit:git-push[1] fails due to a
74
+ Shown when linkgit:git-push[1] fails due to a
75
75
non-fast-forward update to the current branch.
76
76
pushNonFFMatching::
77
- Advice shown when you ran linkgit:git-push[1] and pushed
78
- ' matching refs' explicitly (i.e. you used ':' , or
79
- specified a refspec that isn't your current branch) and
77
+ Shown when the user ran linkgit:git-push[1] and pushed
78
+ " matching refs" explicitly (i.e. used `:` , or
79
+ specified a refspec that isn't the current branch) and
80
80
it resulted in a non-fast-forward error.
81
81
pushRefNeedsUpdate::
82
82
Shown when linkgit:git-push[1] rejects a forced update of
@@ -87,25 +87,28 @@ advice.*::
87
87
guess based on the source and destination refs what
88
88
remote ref namespace the source belongs in, but where
89
89
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
91
91
source object.
92
92
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`
96
96
simultaneously.
97
+ refSyntax::
98
+ Shown when the user provides an illegal ref name, to
99
+ tell the user about the ref syntax documentation.
97
100
resetNoRefresh::
98
- Advice to consider using the `--no-refresh` option to
99
- linkgit:git-reset[1] when the command takes more than 2 seconds
100
- to refresh the index after reset .
101
+ Shown when linkgit:git-reset[1] takes more than 2
102
+ seconds to refresh the index after reset, to tell the user
103
+ that they can use the `--no-refresh` option .
101
104
resolveConflict::
102
- Advice shown by various commands when conflicts
105
+ Shown by various commands when conflicts
103
106
prevent the operation from being performed.
104
107
rmHints::
105
- In case of failure in the output of linkgit:git-rm[1],
106
- show directions on how to proceed from the current state.
108
+ Shown on failure in the output of linkgit:git-rm[1], to
109
+ give directions on how to proceed from the current state.
107
110
sequencerInUse::
108
- Advice shown when a sequencer command is already in progress.
111
+ Shown when a sequencer command is already in progress.
109
112
skippedCherryPicks::
110
113
Shown when linkgit:git-rebase[1] skips a commit that has already
111
114
been cherry-picked onto the upstream branch.
@@ -123,30 +126,30 @@ advice.*::
123
126
by linkgit:git-switch[1] or
124
127
linkgit:git-checkout[1] when switching branches.
125
128
statusUoption::
126
- Advise to consider using the `-u` option to linkgit:git-status[1]
127
- when the command takes more than 2 seconds to enumerate untracked
128
- files .
129
+ Shown when linkgit:git-status[1] takes more than 2
130
+ seconds to enumerate untracked files, to tell the user that
131
+ they can use the `-u` option .
129
132
submoduleAlternateErrorStrategyDie::
130
- Advice shown when a submodule.alternateErrorStrategy option
133
+ Shown when a submodule.alternateErrorStrategy option
131
134
configured to "die" causes a fatal error.
132
135
submoduleMergeConflict::
133
136
Advice shown when a non-trivial submodule merge conflict is
134
137
encountered.
135
138
submodulesNotUpdated::
136
- Advice shown when a user runs a submodule command that fails
139
+ Shown when a user runs a submodule command that fails
137
140
because `git submodule update --init` was not run.
138
141
suggestDetachingHead::
139
- Advice shown when linkgit:git-switch[1] refuses to detach HEAD
142
+ Shown when linkgit:git-switch[1] refuses to detach HEAD
140
143
without the explicit `--detach` option.
141
144
updateSparsePath::
142
- Advice shown when either linkgit:git-add[1] or linkgit:git-rm[1]
145
+ Shown when either linkgit:git-add[1] or linkgit:git-rm[1]
143
146
is asked to update index entries outside the current sparse
144
147
checkout.
145
148
waitingForEditor::
146
- Print a message to the terminal whenever Git is waiting for
147
- editor input from the user .
149
+ Shown when Git is waiting for editor input. Relevant
150
+ when e.g. the editor is not launched inside the terminal .
148
151
worktreeAddOrphan::
149
- Advice shown when a user tries to create a worktree from an
150
- invalid reference, to instruct how to create a new unborn
152
+ Shown when the user tries to create a worktree from an
153
+ invalid reference, to tell the user how to create a new unborn
151
154
branch instead.
152
155
--
0 commit comments