# NOT RUN {
## see if user name and email are currently configured
use_git_config()
## set the user's global user.name and user.email
use_git_config(user.name = "Jane", user.email = "jane@example.org")
## set the user.name and user.email locally, i.e. for current repo/project
use_git_config(
scope = "project",
user.name = "Jane",
user.email = "jane@example.org"
)
# }
Run the code above in your browser using DataCamp Workspace