if (FALSE) {
## Initialize a temporary repository
path <- tempfile(pattern = "git2r-")
dir.create(path)
repo <- init(path)
## Set user name and email.
config(repo, user.name = "Alice", user.email = "alice@example.org")
## Display configuration
config(repo)
## Delete user email.
config(repo, user.email = NULL)
## Display configuration
config(repo)
}
Run the code above in your browser using DataLab