git_user | R Documentation |
This function is a wrapper for
git_config_global_set
.
It sets two name/value pairs at
once: name = "user.name"
is set to the value of the name
argument, and name = "user.email"
is set to the value of the
email
argument.
git_user(name, email, overwrite = !has_git_user(), verbose = TRUE)
name |
Character. The user name you want to use with 'Git'. |
email |
Character. The email address you want to use with 'Git'. |
overwrite |
Logical. Whether or not to overwrite existing 'Git'
credentials. Use this to prevent code from accidentally overwriting existing
'Git' credentials. The default value uses |
verbose |
Logical. Whether or not to print status messages to the console. Default: TRUE |
No return value. This function is called for its side effects.
do.call(git_user, worcs:::get_user())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.