Skip to main content
POST /v1/agents/runtime/{runtime_id}/git/branch/delete
The branch must not be the currently checked-out branch when you delete it. Without force, git refuses to delete a branch whose commits are not merged elsewhere; force maps to git branch -D and discards them. This deletes the local branch only. To delete the remote branch, push a refspec with an empty source, for example :refs/heads/tmp-branch.

Parameters

Response