-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
config.txt: move user.* to a separate file
Signed-off-by: Nguyễn Thái Ngọc Duy <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
- Loading branch information
Showing
2 changed files
with
27 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |