Scott Whittaker

Software Engineer

Day job React | side projects Svelte

git - tags

List tags

git tag

Remove all local tags

git tag -d $(git tag -l)

Remove local and remote tags

In order to remove all local and remote tags you can do the following as referenced in the following articles…

# Delete local tags
git tag -d $(git tag -l)

# Fetch remote tags
git fetch

# Delete remote tags
git push origin --delete $(git tag -l) # Pushing once should be faster than multiple times

# Delete local tags
git tag -d $(git tag -l)