Test if a Git user is configured
This function exists mostly to guard examples that rely on having a user
configured, in order to make commits. user_is_configured()
makes no
distinction between local or global user config.
user_is_configured(repo = ".")
repo |
An optional |
TRUE
if user.name
and user.email
are set locally or globally,
FALSE
otherwise.
user_is_configured()
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.