Showing posts with label delete remote branch. Show all posts
Showing posts with label delete remote branch. Show all posts

Dec 7, 2012

how to remove remote branch in git(github)

It's simple to delete your remote branch.

  git push origin :

Deleting your local branch is simple too.

  git branch -d

You need to be on another branch. If you execute the command above on , you will see error message.

error: Cannot delete the branch '' which you are currently on.