Skip to content

Instantly share code, notes, and snippets.

@xarimanx
Created December 9, 2015 13:51
Show Gist options
  • Save xarimanx/eb498e41d40b37c4a3f1 to your computer and use it in GitHub Desktop.
Save xarimanx/eb498e41d40b37c4a3f1 to your computer and use it in GitHub Desktop.

Revisions

  1. xarimanx created this gist Dec 9, 2015.
    11 changes: 11 additions & 0 deletions git-deletealltags.bsh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    for t in `git tag`
    do
    git push origin :$t
    git tag -d $t
    done

    # and for local
    for t in `git tag`
    do
    git tag -d $t
    done