Set gitlabr options

gitlabr_options_set(key, value)

Arguments

key

option name

value

option value

Value

Used for side effect. Populates user options()

Details

Options accounted for by gitlabr:

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

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)