worcs (version 0.1.2)

has_git_user: Check whether global 'Git' credentials exist

Description

Check whether the values user.name and user.email exist exist in the 'Git' global configuration settings. Uses git_config_global.

Usage

has_git_user()

Arguments

Value

Logical, indicating whether 'Git' global configuration settings could be retrieved, and contained the values user.name and user.email.

Examples

Run this code
# NOT RUN {
has_git_user()
# }

Run the code above in your browser using DataCamp Workspace