Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/Documentation/config/notes.adoc # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / Documentation / config / notes.adoc` 68 lines ยท 2844 bytes Raw Blame History 1 `notes.mergeStrategy`:: 2 Which merge strategy to choose by default when resolving notes 3 conflicts. Must be one of `manual`, `ours`, `theirs`, `union`, or 4 `cat_sort_uniq`. Defaults to `manual`. See the "NOTES MERGE STRATEGIES" 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]. 9 10 `notes..mergeStrategy`:: 11 Which merge strategy to choose when doing a notes merge into 12 `refs/notes/`. This overrides the more general 13 `notes.mergeStrategy`. See the "NOTES MERGE STRATEGIES" section in 14 linkgit:git-notes[1] for more information on the available strategies. 15 16 `notes.displayRef`:: 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 + 22 This setting can be overridden with the `GIT_NOTES_DISPLAY_REF` 23 environment variable, which must be a colon separated list of refs or 24 globs. 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 linkgit:git-log[1] 30 family of commands, or by the `--notes=` option accepted by 31 those commands. 32 + 33 The effective value of `core.notesRef` (possibly overridden by 34 `GIT_NOTES_REF`) is also implicitly added to the list of refs to be 35 displayed. 36 37 `notes.rewrite.`:: 38 When rewriting commits with __ (currently `amend` or 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. 46 47 `notes.rewriteMode`:: 48 When copying notes during a rewrite (see the 49 `notes.rewrite.` option), determines what to do if 50 the target commit already has a note. Must be one of 51 `overwrite`, `concatenate`, `cat_sort_uniq`, or `ignore`. 52 Defaults to `concatenate`. 53 + 54 This setting can be overridden with the `GIT_NOTES_REWRITE_MODE` 55 environment variable. 56 57 `notes.rewriteRef`:: 58 When copying notes during a rewrite, specifies the (fully 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. 62 + 63 Does not have a default value; you must configure this variable to 64 enable note rewriting. Set it to `refs/notes/commits` to enable 65 rewriting for the default commit notes. 66 + 67 Can be overridden with the `GIT_NOTES_REWRITE_REF` environment variable. 68 See `notes.rewrite.` above for a further description of its format.