Answers for "add tag to commit"

1

how to push tag for a commit

git tag "tag_name" "commit_hash" # fill tag_name and commit_hash
git push --tags # to push created tag
Posted by: Guest on April-04-2021
3

git tag a previous commit

git tag -a v1.2 9fceb02 -m "Message here"
Posted by: Guest on June-11-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language