Skip to content

Instantly share code, notes, and snippets.

@firewalker06
Created September 25, 2013 02:27
Show Gist options
  • Select an option

  • Save firewalker06/6694439 to your computer and use it in GitHub Desktop.

Select an option

Save firewalker06/6694439 to your computer and use it in GitHub Desktop.
Shell Script to delete multiple git tags locally and remotely
#!/bin/bash
git tag -d tag1
git tag -d tag2
git tag -d tag3
git tag push origin :refs/tags/tag1
git tag push origin :refs/tags/tag2
git tag push origin :refs/tags/tag3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment