config.txt: move commit.* to a separate file
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Nguyễn Thái Ngọc Duy committed
Oct 27, 2018 at 08:22 UTC
5453d236dc946b44d0b85c9174f83c8b99486638
2 files changed
+30
-29
Documentation/config.txt
+1
-29
@@ -313,35 +313,7 @@ include::config/color.txt[]
313
314
include::config/column.txt[]
315
316
-commit.cleanup::
317
- This setting overrides the default of the `--cleanup` option in
318
- `git commit`. See linkgit:git-commit[1] for details. Changing the
319
- default can be useful when you always want to keep lines that begin
320
- with comment character `#` in your log message, in which case you
321
- would do `git config commit.cleanup whitespace` (note that you will
322
- have to remove the help lines that begin with `#` in the commit log
323
- template yourself, if you do this).
324
-
325
-commit.gpgSign::
326
-
327
- A boolean to specify whether all commits should be GPG signed.
328
- Use of this option when doing operations such as rebase can
329
- result in a large number of commits being signed. It may be
330
- convenient to use an agent to avoid typing your GPG passphrase
331
- several times.
332
-
333
-commit.status::
334
- A boolean to enable/disable inclusion of status information in the
335
- commit message template when using an editor to prepare the commit
336
- message. Defaults to true.
337
-
338
-commit.template::
339
- Specify the pathname of a file to use as the template for
340
- new commit messages.
341
-
342
-commit.verbose::
343
- A boolean or int to specify the level of verbose with `git commit`.
344
- See linkgit:git-commit[1].
316
+include::config/commit.txt[]
317
318
credential.helper::
319
Specify an external helper to be called when a username or
Documentation/config/commit.txt
new
+29
@@ -0,0 +1,29 @@
1
+commit.cleanup::
2
+ This setting overrides the default of the `--cleanup` option in
3
+ `git commit`. See linkgit:git-commit[1] for details. Changing the
4
+ default can be useful when you always want to keep lines that begin
5
+ with comment character `#` in your log message, in which case you
6
+ would do `git config commit.cleanup whitespace` (note that you will
7
+ have to remove the help lines that begin with `#` in the commit log
8
+ template yourself, if you do this).
9
+
10
+commit.gpgSign::
11
+
12
+ A boolean to specify whether all commits should be GPG signed.
13
+ Use of this option when doing operations such as rebase can
14
+ result in a large number of commits being signed. It may be
15
+ convenient to use an agent to avoid typing your GPG passphrase
16
+ several times.
17
+
18
+commit.status::
19
+ A boolean to enable/disable inclusion of status information in the
20
+ commit message template when using an editor to prepare the commit
21
+ message. Defaults to true.
22
+
23
+commit.template::
24
+ Specify the pathname of a file to use as the template for
25
+ new commit messages.
26
+
27
+commit.verbose::
28
+ A boolean or int to specify the level of verbose with `git commit`.
29
+ See linkgit:git-commit[1].