Delete a remote branch with git

Posted Almost 12 years ago. Visible to the public.

Delete the local branch

git branch -d branch_to_delete

Delete the remote branch:

git push origin :branch_to_delete

NOTE Make sure you put the colon in front of the branch name

Thanks, @nistude Show archive.org snapshot

Matthias Marschall
Keywords
github
Posted by Matthias Marschall to Matthias Marschall (2012-06-18 07:42)