Skip to content

Instantly share code, notes, and snippets.

View imflash217's full-sized avatar
🔭
महाजनो येन गतः स पन्थाः ॥

Vinay Kumar imflash217

🔭
महाजनो येन गतः स पन्थाः ॥
  • United States
  • 02:57 (UTC -04:00)
View GitHub Profile
@shsteimer
shsteimer / gist:7257245
Created October 31, 2013 21:10
Tip to delete tags by pattern
#delete all the remote tags with the pattern your looking for, ie. DEV-
git tag | grep <pattern> | xargs -n 1 -i% git push origin :refs/tags/%
#delete all your local tags
git tag | xargs -n 1 -i% git tag -d %
#fetch the remote tags which still remain
git fetch