Learn R Programming

gitlabr (version 0.6.4)

list_branches: List, create and delete branches

Description

List, create and delete branches

List, create and delete branches

List, create and delete branches

Usage

list_branches(project, verb = httr::GET, ...)
create_branch(project, branch_name, ref = "master", verb = httr::POST, ...)
delete_branch(project, branch_name, verb = httr::POST, ...)

Arguments

project
name or id of project (not repository!)
verb
is ignored, will always be forced to match the action the function name indicates
...
passed on to gitlab
branch_name
name of branch to create/delete
ref
ref name of origin for newly created branch