has_git_user: Check whether global 'Git' credentials exist

View source: R/github.R

has_git_userR Documentation

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()

Value

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

Examples

has_git_user()

cjvanlissa/worcs documentation built on Nov. 7, 2024, 1:20 p.m.