How to use github to create / delete branches with rest api

how to create / delete branches with rest api for github

Mar.26,2021

https://developer.github.com/.

Example: Deleting a branch:
DELETE /repos/octocat/Hello-World/git/refs/heads/feature-a

the branch name may need to be url encode.

Menu