Learn R Programming

gitlabr (version 1.1.6)

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, ref = "master", verb = httr::POST, ...)

gl_delete_branch(project, branch, 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 of branch to create/delete

ref

ref name of origin for newly created branch