2018-10-27 08:23:21 +02:00
|
|
|
notes.mergeStrategy::
|
|
|
|
Which merge strategy to choose by default when resolving notes
|
|
|
|
conflicts. Must be one of `manual`, `ours`, `theirs`, `union`, or
|
|
|
|
`cat_sort_uniq`. Defaults to `manual`. See "NOTES MERGE STRATEGIES"
|
|
|
|
section of linkgit:git-notes[1] for more information on each strategy.
|
2022-09-07 10:27:01 +02:00
|
|
|
+
|
|
|
|
This setting can be overridden by passing the `--strategy` option to
|
|
|
|
linkgit:git-notes[1].
|
2018-10-27 08:23:21 +02:00
|
|
|
|
|
|
|
notes.<name>.mergeStrategy::
|
|
|
|
Which merge strategy to choose when doing a notes merge into
|
|
|
|
refs/notes/<name>. This overrides the more general
|
|
|
|
"notes.mergeStrategy". See the "NOTES MERGE STRATEGIES" section in
|
|
|
|
linkgit:git-notes[1] for more information on the available strategies.
|
|
|
|
|
|
|
|
notes.displayRef::
|
2022-09-07 10:27:01 +02:00
|
|
|
Which ref (or refs, if a glob or specified more than once), in
|
|
|
|
addition to the default set by `core.notesRef` or
|
|
|
|
`GIT_NOTES_REF`, to read notes from when showing commit
|
|
|
|
messages with the 'git log' family of commands.
|
2018-10-27 08:23:21 +02:00
|
|
|
+
|
|
|
|
This setting can be overridden with the `GIT_NOTES_DISPLAY_REF`
|
|
|
|
environment variable, which must be a colon separated list of refs or
|
|
|
|
globs.
|
|
|
|
+
|
2022-09-07 10:27:01 +02:00
|
|
|
A warning will be issued for refs that do not exist,
|
|
|
|
but a glob that does not match any refs is silently ignored.
|
|
|
|
+
|
|
|
|
This setting can be disabled by the `--no-notes` option to the 'git
|
|
|
|
log' family of commands, or by the `--notes=<ref>` option accepted by
|
|
|
|
those commands.
|
|
|
|
+
|
2018-10-27 08:23:21 +02:00
|
|
|
The effective value of "core.notesRef" (possibly overridden by
|
|
|
|
GIT_NOTES_REF) is also implicitly added to the list of refs to be
|
|
|
|
displayed.
|
|
|
|
|
|
|
|
notes.rewrite.<command>::
|
|
|
|
When rewriting commits with <command> (currently `amend` or
|
2022-09-07 10:27:01 +02:00
|
|
|
`rebase`), if this variable is `false`, git will not copy
|
|
|
|
notes from the original to the rewritten commit. Defaults to
|
|
|
|
`true`. See also "`notes.rewriteRef`" below.
|
|
|
|
+
|
|
|
|
This setting can be overridden with the `GIT_NOTES_REWRITE_REF`
|
|
|
|
environment variable, which must be a colon separated list of refs or
|
|
|
|
globs.
|
2018-10-27 08:23:21 +02:00
|
|
|
|
|
|
|
notes.rewriteMode::
|
|
|
|
When copying notes during a rewrite (see the
|
|
|
|
"notes.rewrite.<command>" option), determines what to do if
|
|
|
|
the target commit already has a note. Must be one of
|
|
|
|
`overwrite`, `concatenate`, `cat_sort_uniq`, or `ignore`.
|
|
|
|
Defaults to `concatenate`.
|
|
|
|
+
|
|
|
|
This setting can be overridden with the `GIT_NOTES_REWRITE_MODE`
|
|
|
|
environment variable.
|
|
|
|
|
|
|
|
notes.rewriteRef::
|
|
|
|
When copying notes during a rewrite, specifies the (fully
|
2022-09-07 10:27:01 +02:00
|
|
|
qualified) ref whose notes should be copied. May be a glob,
|
|
|
|
in which case notes in all matching refs will be copied. You
|
|
|
|
may also specify this configuration several times.
|
2018-10-27 08:23:21 +02:00
|
|
|
+
|
|
|
|
Does not have a default value; you must configure this variable to
|
|
|
|
enable note rewriting. Set it to `refs/notes/commits` to enable
|
|
|
|
rewriting for the default commit notes.
|
|
|
|
+
|
2022-09-07 10:27:01 +02:00
|
|
|
Can be overridden with the `GIT_NOTES_REWRITE_REF` environment variable.
|
|
|
|
See `notes.rewrite.<command>` above for a further description of its format.
|