gitlabr_options_set {gitlabr} | R 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)
[Package gitlabr version 2.1.0 Index]