List, create and delete branches
List, create and delete branches
List, create and delete branches
1 2 3 4 5 6 | 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, ...)
|
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 |
branch |
name of branch to create/delete |
ref |
ref name of origin for newly created branch |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.