## Initialize a temporary repository
path <- tempfile(pattern="git2r-")
dir.create(path)
repo <- init(path)
## Create a user
config(repo, user.name="Alice", user.email="alice@example.org")
## Brief summary of git_time from the default signature
default_signature(repo)@when
Run the code above in your browser using DataCamp Workspace