Guides: Remove a remote branch
Remove branch from repo.
git push {repo} :heads/{branch}
Ex: git push origin :somebranch
removes somebranch
This works for removing a tag as well git push origin :sometag
You might also want to check out git-publish-branch’s ‘-d’ option.
Last edited by snipsnipsnip, 15 days ago
Versions:

