How to delete remote branch (e.g. Github) from command line?
This question already has an answer here:
As with every git
server:
$ git push github :<BRANCH_NAME>
or:
$ git push github --delete <BRANCH_NAME>
Example:
$ git push github --delete test
Local Branch
git branch -d local_branch
Remote Branch
git push origin --delete remote_branch
Use this command:
git push github :test
Read "push nothing as refname test
on github remote"