config.txt: move user.* 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:23 UTC
18b421d4f609c63fa4d50141a3fe8243cd13e0e9
2 files changed
+27
-26
Documentation/config.txt
+1
-26
@@ -429,32 +429,7 @@ include::config/uploadpack.txt[]
429
430
include::config/url.txt[]
431
432
-user.email::
433
- Your email address to be recorded in any newly created commits.
434
- Can be overridden by the `GIT_AUTHOR_EMAIL`, `GIT_COMMITTER_EMAIL`, and
435
- `EMAIL` environment variables. See linkgit:git-commit-tree[1].
436
-
437
-user.name::
438
- Your full name to be recorded in any newly created commits.
439
- Can be overridden by the `GIT_AUTHOR_NAME` and `GIT_COMMITTER_NAME`
440
- environment variables. See linkgit:git-commit-tree[1].
441
-
442
-user.useConfigOnly::
443
- Instruct Git to avoid trying to guess defaults for `user.email`
444
- and `user.name`, and instead retrieve the values only from the
445
- configuration. For example, if you have multiple email addresses
446
- and would like to use a different one for each repository, then
447
- with this configuration option set to `true` in the global config
448
- along with a name, Git will prompt you to set up an email before
449
- making new commits in a newly cloned repository.
450
- Defaults to `false`.
451
-
452
-user.signingKey::
453
- If linkgit:git-tag[1] or linkgit:git-commit[1] is not selecting the
454
- key you want it to automatically when creating a signed tag or
455
- commit, you can override the default selection with this variable.
456
- This option is passed unchanged to gpg's --local-user parameter,
457
- so you may specify a key using any method that gpg supports.
432
+include::config/user.txt[]
433
434
versionsort.prereleaseSuffix (deprecated)::
435
Deprecated alias for `versionsort.suffix`. Ignored if
Documentation/config/user.txt
new
+26
@@ -0,0 +1,26 @@
1
+user.email::
2
+ Your email address to be recorded in any newly created commits.
3
+ Can be overridden by the `GIT_AUTHOR_EMAIL`, `GIT_COMMITTER_EMAIL`, and
4
+ `EMAIL` environment variables. See linkgit:git-commit-tree[1].
5
+
6
+user.name::
7
+ Your full name to be recorded in any newly created commits.
8
+ Can be overridden by the `GIT_AUTHOR_NAME` and `GIT_COMMITTER_NAME`
9
+ environment variables. See linkgit:git-commit-tree[1].
10
+
11
+user.useConfigOnly::
12
+ Instruct Git to avoid trying to guess defaults for `user.email`
13
+ and `user.name`, and instead retrieve the values only from the
14
+ configuration. For example, if you have multiple email addresses
15
+ and would like to use a different one for each repository, then
16
+ with this configuration option set to `true` in the global config
17
+ along with a name, Git will prompt you to set up an email before
18
+ making new commits in a newly cloned repository.
19
+ Defaults to `false`.
20
+
21
+user.signingKey::
22
+ If linkgit:git-tag[1] or linkgit:git-commit[1] is not selecting the
23
+ key you want it to automatically when creating a signed tag or
24
+ commit, you can override the default selection with this variable.
25
+ This option is passed unchanged to gpg's --local-user parameter,
26
+ so you may specify a key using any method that gpg supports.