Description Usage Arguments Details Value Examples
This function deletes a branch from a repository, as long as you have appropriate permissions. Care should be taken as it will not be recoverable.
1 | delete_branch(branch, repo, ...)
|
branch |
(string) The name of the branch. |
repo |
(string) The repository specified in the format: |
... |
Parameters passed to |
For more details see the GitHub API documentation:
delete_branch()
returns a TRUE if successfully deleted.
1 2 3 4 5 6 | ## Not run:
delete_branch(branch = "new-branch", repo = "ChadGoymer/githapi")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.