Advertisement
BasMatthee

[GIT] Delete tag both locally and on remote

Jan 8th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.21 KB | None | 0 0
  1. # Delete local tag 'v1.0.0'
  2. git tag -d v1.0.0
  3. # Delete remote tag 'v1.0.0' (eg, GitHub version too)
  4. git push origin :refs/tags/v1.0.0
  5.  
  6. # Alternative approach
  7. git push --delete origin v1.0.0
  8. git tag -d v1.0.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement