git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 56/59] config.txt: move user.* to a separate file

From
Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Date
Oct 20, 2018, 12:38 UTC
Message-ID
<20181020123848.2785-57-pclouds@gmail.com>
In-Reply-To
<20181020123848.2785-1-pclouds@gmail.com>
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
---
 Documentation/config.txt      | 27 +--------------------------
 Documentation/user-config.txt | 26 ++++++++++++++++++++++++++
 2 files changed, 27 insertions(+), 26 deletions(-)
 create mode 100644 Documentation/user-config.txt
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 9f38178220..3ccf88ea4c 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -678,32 +678,7 @@ include::uploadpack-config.txt[]
 
 include::url-config.txt[]
 
-user.email::
-	Your email address to be recorded in any newly created commits.
-	Can be overridden by the `GIT_AUTHOR_EMAIL`, `GIT_COMMITTER_EMAIL`, and
-	`EMAIL` environment variables.  See linkgit:git-commit-tree[1].
-
-user.name::
-	Your full name to be recorded in any newly created commits.
-	Can be overridden by the `GIT_AUTHOR_NAME` and `GIT_COMMITTER_NAME`
-	environment variables.  See linkgit:git-commit-tree[1].
-
-user.useConfigOnly::
-	Instruct Git to avoid trying to guess defaults for `user.email`
-	and `user.name`, and instead retrieve the values only from the
-	configuration. For example, if you have multiple email addresses
-	and would like to use a different one for each repository, then
-	with this configuration option set to `true` in the global config
-	along with a name, Git will prompt you to set up an email before
-	making new commits in a newly cloned repository.
-	Defaults to `false`.
-
-user.signingKey::
-	If linkgit:git-tag[1] or linkgit:git-commit[1] is not selecting the
-	key you want it to automatically when creating a signed tag or
-	commit, you can override the default selection with this variable.
-	This option is passed unchanged to gpg's --local-user parameter,
-	so you may specify a key using any method that gpg supports.
+include::user-config.txt[]
 
 versionsort.prereleaseSuffix (deprecated)::
 	Deprecated alias for `versionsort.suffix`.  Ignored if
diff --git a/Documentation/user-config.txt b/Documentation/user-config.txt
new file mode 100644
index 0000000000..b5b2ba1199
--- /dev/null
+++ b/Documentation/user-config.txt
@@ -0,0 +1,26 @@
+user.email::
+	Your email address to be recorded in any newly created commits.
+	Can be overridden by the `GIT_AUTHOR_EMAIL`, `GIT_COMMITTER_EMAIL`, and
+	`EMAIL` environment variables.  See linkgit:git-commit-tree[1].
+
+user.name::
+	Your full name to be recorded in any newly created commits.
+	Can be overridden by the `GIT_AUTHOR_NAME` and `GIT_COMMITTER_NAME`
+	environment variables.  See linkgit:git-commit-tree[1].
+
+user.useConfigOnly::
+	Instruct Git to avoid trying to guess defaults for `user.email`
+	and `user.name`, and instead retrieve the values only from the
+	configuration. For example, if you have multiple email addresses
+	and would like to use a different one for each repository, then
+	with this configuration option set to `true` in the global config
+	along with a name, Git will prompt you to set up an email before
+	making new commits in a newly cloned repository.
+	Defaults to `false`.
+
+user.signingKey::
+	If linkgit:git-tag[1] or linkgit:git-commit[1] is not selecting the
+	key you want it to automatically when creating a signed tag or
+	commit, you can override the default selection with this variable.
+	This option is passed unchanged to gpg's --local-user parameter,
+	so you may specify a key using any method that gpg supports.
-- 
2.19.1.647.g708186aaf9
Previous: Nguyễn Thái Ngọc DuyNext: Nguyễn Thái Ngọc Duy
Message 58 of 67 in “Split config.txt”
  1. 00/59 Split config.txtNguyễn Thái Ngọc Duy, Oct 20, 2018
  2. 01/59 config.txt: move advice.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  3. 03/59 config.txt: move add.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  4. 04/59 config.txt: move alias.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  5. 05/59 config.txt: move am.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  6. 06/59 config.txt: move apply.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  7. 07/59 config.txt: move blame.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  8. 02/59 config.txt: move core.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  9. 08/59 config.txt: move branch.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  10. 10/59 config.txt: move checkout.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  11. 11/59 config.txt: move clean.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  12. 09/59 config.txt: move browser.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  13. 13/59 config.txt: move column.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  14. 14/59 config.txt: move commit.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  15. 12/59 config.txt: move color.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  16. 15/59 config.txt: move credential.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  17. 16/59 config.txt: move completion.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  18. 17/59 config.txt: move difftool.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  19. 18/59 config.txt: move fastimport.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  20. 19/59 config.txt: move filter.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  21. 20/59 config.txt: move fsck.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  22. 21/59 config.txt: move gc.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  23. 22/59 config.txt: move gitweb.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  24. 23/59 config.txt: move grep.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  25. 24/59 config.txt: move gpg.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  26. 25/59 config.txt: move guitool.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  27. 26/59 config.txt: move help.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  28. 27/59 config.txt: move ssh.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  29. 28/59 config.txt: move i18n.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  30. 29/59 config.txt: move i18n.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  31. Andrei RybakOct 21, 2018
  32. 30/59 config.txt: move init.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  33. 31/59 config.txt: move instaweb.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  34. 32/59 config.txt: move interactive.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  35. 33/59 config.txt: move log.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  36. 34/59 config.txt: move mailinfo.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  37. 36/59 config.txt: move man.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  38. 35/59 config.txt: move mailmap.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  39. 37/59 config.txt: move mergetool.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  40. 38/59 config.txt: move notes.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  41. 40/59 config.txt: move pager.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  42. 41/59 config.txt: move pretty.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  43. 39/59 config.txt: move pack.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  44. 42/59 config.txt: move protocol.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  45. 43/59 config.txt: move remote.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  46. 44/59 config.txt: move remotes.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  47. 45/59 config.txt: move repack.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  48. 46/59 config.txt: move rerere.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  49. 48/59 config.txt: move showBranch.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  50. 49/59 config.txt: move splitIndex.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  51. 47/59 config.txt: move sequencer.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  52. 51/59 config.txt: move tag.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  53. 50/59 config.txt: move status.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  54. 52/59 config.txt: move transfer.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  55. 53/59 config.txt: move uploadarchive.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  56. 55/59 config.txt: move url.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  57. 54/59 config.txt: move uploadpack.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  58. 56/59 config.txt: move user.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  59. 57/59 config.txt: move versionsort.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  60. 58/59 config.txt: move web.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  61. 59/59 config.txt: move worktree.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  62. Ævar Arnfjörð BjarmasonOct 20, 2018
  63. Duy NguyenOct 20, 2018
  64. Ævar Arnfjörð BjarmasonOct 20, 2018
  65. Junio C HamanoOct 20, 2018
  66. Duy NguyenOct 22, 2018
  67. Stefan BellerOct 22, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.