#git #github #terminal

If you want to update a git tag with the current latest commit, you can use the following commands (assuming the tag is called v1):

1git tag -fa v1 -m 'Update v1 tag'
2git push origin v1 --force