Skip to content

Commit 2b4aa89

Browse files
trastgitster
authored andcommitted
Documentation: basic configuration of notes.rewriteRef
Users had problems finding a working setting for notes.rewriteRef. Document how to enable rewriting for notes/commits, which should be a safe setting. Signed-off-by: Thomas Rast <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent b15b5b1 commit 2b4aa89

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Documentation/config.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1445,7 +1445,8 @@ notes.rewriteRef::
14451445
You may also specify this configuration several times.
14461446
+
14471447
Does not have a default value; you must configure this variable to
1448-
enable note rewriting.
1448+
enable note rewriting. Set it to `refs/notes/commits` to enable
1449+
rewriting for the default commit notes.
14491450
+
14501451
This setting can be overridden with the `GIT_NOTES_REWRITE_REF`
14511452
environment variable, which must be a colon separated list of refs or

0 commit comments

Comments
 (0)