tar_git_ok {gittargets}R Documentation

Check Git

Description

Check if Git is installed and if user.name and user.email are configured globally.

Usage

tar_git_ok(verbose = TRUE)

Arguments

verbose

Whether to print messages to the console.

Details

You can install Git from https://git-scm.com/downloads/ and configure your identity using the instructions at https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup. You may find it convenient to run gert::git_config_global() with name equal to user.name and user.email.

Value

Logical of length 1, whether Git is installed and configured correctly.

See Also

Other git: tar_git_checkout(), tar_git_init(), tar_git_log(), tar_git_snapshot(), tar_git_status_code(), tar_git_status_data(), tar_git_status_targets(), tar_git_status()

Examples

tar_git_ok()

[Package gittargets version 0.0.7 Index]