Git – how to remove remote branch

Seemingly obvious action got me more than once.
git push origin :branchname
is the way to go.

Of course, I’ve expected something like:
git branch -d origin/branchname
but it wouldn’t work.

This entry was posted in Software Development, Tools and tagged . Bookmark the permalink.

Leave a Reply

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