git local tag delete code example Example 1: git delete local tag git tag -d <tag> Example 2: git remove tag from remote git push origin :tagname