@@ -3,6 +3,9 @@ notes.mergeStrategy::
3
3
conflicts. Must be one of `manual`, `ours`, `theirs`, `union`, or
4
4
`cat_sort_uniq`. Defaults to `manual`. See "NOTES MERGE STRATEGIES"
5
5
section of linkgit:git-notes[1] for more information on each strategy.
6
+ +
7
+ This setting can be overridden by passing the `--strategy` option to
8
+ linkgit:git-notes[1].
6
9
7
10
notes.<name>.mergeStrategy::
8
11
Which merge strategy to choose when doing a notes merge into
@@ -11,28 +14,35 @@ notes.<name>.mergeStrategy::
11
14
linkgit:git-notes[1] for more information on the available strategies.
12
15
13
16
notes.displayRef::
14
- The (fully qualified) refname from which to show notes when
15
- showing commit messages. The value of this variable can be set
16
- to a glob, in which case notes from all matching refs will be
17
- shown. You may also specify this configuration variable
18
- several times. A warning will be issued for refs that do not
19
- exist, but a glob that does not match any refs is silently
20
- ignored.
17
+ Which ref (or refs, if a glob or specified more than once), in
18
+ addition to the default set by `core.notesRef` or
19
+ `GIT_NOTES_REF`, to read notes from when showing commit
20
+ messages with the 'git log' family of commands.
21
21
+
22
22
This setting can be overridden with the `GIT_NOTES_DISPLAY_REF`
23
23
environment variable, which must be a colon separated list of refs or
24
24
globs.
25
25
+
26
+ A warning will be issued for refs that do not exist,
27
+ but a glob that does not match any refs is silently ignored.
28
+ +
29
+ This setting can be disabled by the `--no-notes` option to the 'git
30
+ log' family of commands, or by the `--notes=<ref>` option accepted by
31
+ those commands.
32
+ +
26
33
The effective value of "core.notesRef" (possibly overridden by
27
34
GIT_NOTES_REF) is also implicitly added to the list of refs to be
28
35
displayed.
29
36
30
37
notes.rewrite.<command>::
31
38
When rewriting commits with <command> (currently `amend` or
32
- `rebase`) and this variable is set to `true`, Git
33
- automatically copies your notes from the original to the
34
- rewritten commit. Defaults to `true`, but see
35
- "notes.rewriteRef" below.
39
+ `rebase`), if this variable is `false`, git will not copy
40
+ notes from the original to the rewritten commit. Defaults to
41
+ `true`. See also "`notes.rewriteRef`" below.
42
+ +
43
+ This setting can be overridden with the `GIT_NOTES_REWRITE_REF`
44
+ environment variable, which must be a colon separated list of refs or
45
+ globs.
36
46
37
47
notes.rewriteMode::
38
48
When copying notes during a rewrite (see the
@@ -46,14 +56,13 @@ environment variable.
46
56
47
57
notes.rewriteRef::
48
58
When copying notes during a rewrite, specifies the (fully
49
- qualified) ref whose notes should be copied. The ref may be a
50
- glob, in which case notes in all matching refs will be copied.
51
- You may also specify this configuration several times.
59
+ qualified) ref whose notes should be copied. May be a glob,
60
+ in which case notes in all matching refs will be copied. You
61
+ may also specify this configuration several times.
52
62
+
53
63
Does not have a default value; you must configure this variable to
54
64
enable note rewriting. Set it to `refs/notes/commits` to enable
55
65
rewriting for the default commit notes.
56
66
+
57
- This setting can be overridden with the `GIT_NOTES_REWRITE_REF`
58
- environment variable, which must be a colon separated list of refs or
59
- globs.
67
+ Can be overridden with the `GIT_NOTES_REWRITE_REF` environment variable.
68
+ See `notes.rewrite.<command>` above for a further description of its format.
0 commit comments