git_setup_user: Git Setup User (Name and Email)

View source: R/git_config.R

git_setup_userR Documentation

Git Setup User (Name and Email)

Description

Git Setup User (Name and Email)

Usage

git_setup_user(
  github_username,
  github_email,
  scope = c("local", "global"),
  git_exe = path_to_git()
)

Arguments

github_username

username should be your GitHub username

github_email

email should be identical to email you registered with at GitHub (e.g. your.name(at)kompetenz-wasser.de)

scope

scope (default: c("local", "global"))

git_exe

path to git executable on Windows (default: path_to_git())

Value

runs "git" to setup the Git(Hub) user

See Also

<https://support.rstudio.com/hc/en-us/community/posts/115001143667-Author-Change-with-Git-in-RStudio>

Examples

## Not run: 
git_setup_user("mrustl", "michael.rustler@kompetenz-wasser.de")

## End(Not run)

KWB-R/kwb.pkgbuild documentation built on Oct. 25, 2022, 2:17 a.m.