Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 321 Bytes

git.md

File metadata and controls

24 lines (17 loc) · 321 Bytes

Delete all tags

First remote:

$ git tag -l | xargs -n 1 git push --delete origin

Then local:

$ git tag | xargs git tag -d

Get current branch

git rev-parse --abbrev-ref HEAD

Push both commit and tag

git push --atomic origin <branch name> <tag>