Skip to content

Instantly share code, notes, and snippets.

@Mr-Kumar-Abhishek
Last active October 7, 2015 06:33
Show Gist options
  • Save Mr-Kumar-Abhishek/10545568e6146d0e15b6 to your computer and use it in GitHub Desktop.
Save Mr-Kumar-Abhishek/10545568e6146d0e15b6 to your computer and use it in GitHub Desktop.
Delete branch from remote only
#from Git v1.7.0, onwards,
git push origin --delete <branch name>
$ git push origin :<branch_name>
To [email protected]:Mr-Kumar-Abhishek/simplegit.git
- [deleted] <branch_name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment