Learn R Programming

gitlabr (version 0.9)

gl_list_branches: List, create and delete branches

Description

List, create and delete branches

List, create and delete branches

List, create and delete branches

Usage

gl_list_branches(project, verb = httr::GET, ...)

gl_create_branch(project, branch_name, ref = "master", verb = httr::POST, ...)

gl_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