gitlabr_options_set: Set gitlabr options

View source: R/global_env.R

gitlabr_options_setR Documentation

Set gitlabr options

Description

Set gitlabr options

Usage

gitlabr_options_set(key, value)

Arguments

key

option name

value

option value

Details

Options accounted for by gitlabr:

  • gitlabr.main: Name of the main branch of your repository. Default to "main" in functions.

Value

Used for side effect. Populates user options()

Examples

# Principal branch is called "master"
gitlabr_options_set("gitlabr.main", "master")
# Go back to default option (default branch will be "main")
gitlabr_options_set("gitlabr.main", NULL)

gitlabr documentation built on Sept. 13, 2022, 5:06 p.m.