2 These variables control various optional help messages designed to
3 aid new users. All 'advice.*' variables default to 'true', and you
4 can tell Git that you do not need help by setting these to 'false':
7 fetchShowForcedUpdates::
8 Advice shown when linkgit:git-fetch[1] takes a long time
9 to calculate forced updates after ref updates, or to warn
10 that the check is disabled.
12 Set this variable to 'false' if you want to disable
14 'pushNonFFMatching', 'pushAlreadyExists',
15 'pushFetchFirst', and 'pushNeedsForce'
18 Advice shown when linkgit:git-push[1] fails due to a
19 non-fast-forward update to the current branch.
21 Advice shown when you ran linkgit:git-push[1] and pushed
22 'matching refs' explicitly (i.e. you used ':', or
23 specified a refspec that isn't your current branch) and
24 it resulted in a non-fast-forward error.
26 Shown when linkgit:git-push[1] rejects an update that
27 does not qualify for fast-forwarding (e.g., a tag.)
29 Shown when linkgit:git-push[1] rejects an update that
30 tries to overwrite a remote ref that points at an
31 object we do not have.
33 Shown when linkgit:git-push[1] rejects an update that
34 tries to overwrite a remote ref that points at an
35 object that is not a commit-ish, or make the remote
36 ref point at an object that is not a commit-ish.
37 pushUnqualifiedRefname::
38 Shown when linkgit:git-push[1] gives up trying to
39 guess based on the source and destination refs what
40 remote ref namespace the source belongs in, but where
41 we can still suggest that the user push to either
42 refs/heads/* or refs/tags/* based on the type of the
45 Shown when linkgit:git-status[1] computes the ahead/behind
46 counts for a local ref compared to its remote tracking ref,
47 and that calculation takes longer than expected. Will not
48 appear if `status.aheadBehind` is false or the option
49 `--no-ahead-behind` is given.
51 Show directions on how to proceed from the current
52 state in the output of linkgit:git-status[1], in
53 the template shown when writing commit messages in
54 linkgit:git-commit[1], and in the help message shown
55 by linkgit:git-switch[1] or
56 linkgit:git-checkout[1] when switching branch.
58 Advise to consider using the `-u` option to linkgit:git-status[1]
59 when the command takes more than 2 seconds to enumerate untracked
62 Advice shown when linkgit:git-merge[1] refuses to
63 merge to avoid overwriting local changes.
65 Advice to consider using the `--quiet` option to linkgit:git-reset[1]
66 when the command takes more than 2 seconds to enumerate unstaged
69 Advice shown by various commands when conflicts
70 prevent the operation from being performed.
72 Advice shown when a sequencer command is already in progress.
74 Advice on how to set your identity configuration when
75 your information is guessed from the system username and
78 Advice shown when you used
79 linkgit:git-switch[1] or linkgit:git-checkout[1]
80 to move to the detach HEAD state, to instruct how to
81 create a local branch after the fact.
82 checkoutAmbiguousRemoteBranchName::
83 Advice shown when the argument to
84 linkgit:git-checkout[1] and linkgit:git-switch[1]
85 ambiguously resolves to a
86 remote tracking branch on more than one remote in
87 situations where an unambiguous argument would have
88 otherwise caused a remote-tracking branch to be
89 checked out. See the `checkout.defaultRemote`
90 configuration variable for how to set a given remote
91 to used by default in some situations where this
92 advice would be printed.
94 Advice that shows the location of the patch file when
95 linkgit:git-am[1] fails to apply it.
97 In case of failure in the output of linkgit:git-rm[1],
98 show directions on how to proceed from the current state.
100 Advice on what to do when you've accidentally added one
101 git repo inside of another.
103 Advice shown if a hook is ignored because the hook is not
106 Print a message to the terminal whenever Git is waiting for
107 editor input from the user.
109 Advice shown if a user attempts to recursively tag a tag object.
110 submoduleAlternateErrorStrategyDie::
111 Advice shown when a submodule.alternateErrorStrategy option
112 configured to "die" causes a fatal error.
114 Advice shown if a user attempts to add an ignored file to
117 Advice shown if a user runs the add command without providing
118 the pathspec parameter.