]> git.ipfire.org Git - thirdparty/git.git/blame - Documentation/config/advice.txt
builtin/branch: consolidate action-picking logic in cmd_branch()
[thirdparty/git.git] / Documentation / config / advice.txt
CommitLineData
838ef420
NTND
1advice.*::
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':
5+
6--
377444b4
DS
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.
838ef420
NTND
11 pushUpdateRejected::
12 Set this variable to 'false' if you want to disable
3b5bf965
SK
13 'pushNonFFCurrent', 'pushNonFFMatching', 'pushAlreadyExists',
14 'pushFetchFirst', 'pushNeedsForce', and 'pushRefNeedsUpdate'
838ef420
NTND
15 simultaneously.
16 pushNonFFCurrent::
17 Advice shown when linkgit:git-push[1] fails due to a
18 non-fast-forward update to the current branch.
19 pushNonFFMatching::
20 Advice shown when you ran linkgit:git-push[1] and pushed
21 'matching refs' explicitly (i.e. you used ':', or
22 specified a refspec that isn't your current branch) and
23 it resulted in a non-fast-forward error.
24 pushAlreadyExists::
25 Shown when linkgit:git-push[1] rejects an update that
26 does not qualify for fast-forwarding (e.g., a tag.)
27 pushFetchFirst::
28 Shown when linkgit:git-push[1] rejects an update that
29 tries to overwrite a remote ref that points at an
30 object we do not have.
31 pushNeedsForce::
32 Shown when linkgit:git-push[1] rejects an update that
33 tries to overwrite a remote ref that points at an
34 object that is not a commit-ish, or make the remote
35 ref point at an object that is not a commit-ish.
dd8dd300
ÆAB
36 pushUnqualifiedRefname::
37 Shown when linkgit:git-push[1] gives up trying to
38 guess based on the source and destination refs what
39 remote ref namespace the source belongs in, but where
40 we can still suggest that the user push to either
41 refs/heads/* or refs/tags/* based on the type of the
42 source object.
3b5bf965
SK
43 pushRefNeedsUpdate::
44 Shown when linkgit:git-push[1] rejects a forced update of
45 a branch when its remote-tracking ref has updates that we
46 do not have locally.
767a4ca6
JS
47 skippedCherryPicks::
48 Shown when linkgit:git-rebase[1] skips a commit that has already
49 been cherry-picked onto the upstream branch.
0a53561a
JH
50 statusAheadBehind::
51 Shown when linkgit:git-status[1] computes the ahead/behind
52 counts for a local ref compared to its remote tracking ref,
53 and that calculation takes longer than expected. Will not
54 appear if `status.aheadBehind` is false or the option
55 `--no-ahead-behind` is given.
838ef420
NTND
56 statusHints::
57 Show directions on how to proceed from the current
58 state in the output of linkgit:git-status[1], in
59 the template shown when writing commit messages in
60 linkgit:git-commit[1], and in the help message shown
d787d311
NTND
61 by linkgit:git-switch[1] or
62 linkgit:git-checkout[1] when switching branch.
838ef420
NTND
63 statusUoption::
64 Advise to consider using the `-u` option to linkgit:git-status[1]
65 when the command takes more than 2 seconds to enumerate untracked
66 files.
67 commitBeforeMerge::
68 Advice shown when linkgit:git-merge[1] refuses to
69 merge to avoid overwriting local changes.
70 resetQuiet::
71 Advice to consider using the `--quiet` option to linkgit:git-reset[1]
72 when the command takes more than 2 seconds to enumerate unstaged
73 changes after reset.
74 resolveConflict::
75 Advice shown by various commands when conflicts
76 prevent the operation from being performed.
6a1f9046
RA
77 sequencerInUse::
78 Advice shown when a sequencer command is already in progress.
838ef420
NTND
79 implicitIdentity::
80 Advice on how to set your identity configuration when
81 your information is guessed from the system username and
82 domain name.
83 detachedHead::
d787d311
NTND
84 Advice shown when you used
85 linkgit:git-switch[1] or linkgit:git-checkout[1]
86 to move to the detach HEAD state, to instruct how to
87 create a local branch after the fact.
838ef420
NTND
88 checkoutAmbiguousRemoteBranchName::
89 Advice shown when the argument to
d787d311
NTND
90 linkgit:git-checkout[1] and linkgit:git-switch[1]
91 ambiguously resolves to a
838ef420
NTND
92 remote tracking branch on more than one remote in
93 situations where an unambiguous argument would have
94 otherwise caused a remote-tracking branch to be
95 checked out. See the `checkout.defaultRemote`
96 configuration variable for how to set a given remote
97 to used by default in some situations where this
98 advice would be printed.
99 amWorkDir::
100 Advice that shows the location of the patch file when
101 linkgit:git-am[1] fails to apply it.
102 rmHints::
103 In case of failure in the output of linkgit:git-rm[1],
104 show directions on how to proceed from the current state.
105 addEmbeddedRepo::
106 Advice on what to do when you've accidentally added one
107 git repo inside of another.
108 ignoredHook::
109 Advice shown if a hook is ignored because the hook is not
110 set as executable.
111 waitingForEditor::
112 Print a message to the terminal whenever Git is waiting for
113 editor input from the user.
eea9c1e7
DL
114 nestedTag::
115 Advice shown if a user attempts to recursively tag a tag object.
3901d2c6 116 submoduleAlternateErrorStrategyDie::
4f3e57ef
JT
117 Advice shown when a submodule.alternateErrorStrategy option
118 configured to "die" causes a fatal error.
887a0fd5
HW
119 addIgnoredFile::
120 Advice shown if a user attempts to add an ignored file to
121 the index.
122 addEmptyPathspec::
123 Advice shown if a user runs the add command without providing
124 the pathspec parameter.
a20f7047 125 updateSparsePath::
d5f4b826
MT
126 Advice shown when either linkgit:git-add[1] or linkgit:git-rm[1]
127 is asked to update index entries outside the current sparse
128 checkout.
838ef420 129--