Allow custom "comment char"
[git.git] / Documentation / config.txt
index d5809e0e8c4dca414a863cfd019a6f8860c46c4d..e99b9f234e1d9546308466c4abc2e97039f58422 100644 (file)
@@ -528,6 +528,12 @@ core.editor::
        variable when it is set, and the environment variable
        `GIT_EDITOR` is not set.  See linkgit:git-var[1].
 
+core.commentchar::
+       Commands such as `commit` and `tag` that lets you edit
+       messages consider a line that begins with this character
+       commented, and removes them after the editor returns
+       (default '#').
+
 sequence.editor::
        Text editor used by `git rebase -i` for editing the rebase insn file.
        The value is meant to be interpreted by the shell when it is used.