Git fork
1ifdef::git-commit[]
2:see-git-commit:
3endif::git-commit[]
4ifndef::git-commit[]
5:see-git-commit: See linkgit:git-commit[1] for details.
6endif::git-commit[]
7`commit.cleanup`::
8 This setting overrides the default of the `--cleanup` option in
9 `git commit`. {see-git-commit} Changing the default can be useful
10 when you always want to keep lines that begin
11 with the comment character (`core.commentChar`, default `#`)
12 in your log message, in which case you
13 would do `git config commit.cleanup whitespace` (note that you will
14 have to remove the help lines that begin with the comment character
15 in the commit log template yourself, if you do this).
16
17`commit.gpgSign`::
18 A boolean to specify whether all commits should be GPG signed.
19 Use of this option when doing operations such as rebase can
20 result in a large number of commits being signed. It may be
21 convenient to use an agent to avoid typing your GPG passphrase
22 several times.
23
24`commit.status`::
25 A boolean to enable/disable inclusion of status information in the
26 commit message template when using an editor to prepare the commit
27 message. Defaults to `true`.
28
29`commit.template`::
30 Specify the pathname of a file to use as the template for
31 new commit messages.
32
33`commit.verbose`::
34 A boolean or int to specify the level of verbosity with `git commit`.
35 {see-git-commit}