Skip to content

Instantly share code, notes, and snippets.

@fraserxu
Forked from riywo/gist:5000181
Created December 18, 2013 10:27
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fraserxu/8020199 to your computer and use it in GitHub Desktop.
Save fraserxu/8020199 to your computer and use it in GitHub Desktop.
# branch
$ git branch -d BRANCH # delete local BRANCH
$ git push origin :BRANCH # delete remote BRANCH
# tag
$ git tag -d TAG # delete local TAG
$ git push origin :refs/tags/TAG # delete remote TAG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment