Git delete remote branch

I have been playing around with git flow. Then I ended up with several feature/xxx remote branch. So to tidy things up, I need to delete those branches. The syntax is a bit strange but here it goes

git push origin :branch_name 

Leave a Comment

Your email address will not be published. Required fields are marked *