List, create and delete branches

Share:

Description

List, create and delete branches

List, create and delete branches

List, create and delete branches

Usage

1
2
3
4
5
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