Add tag (Tag at local first)
-a <tag name> -m <description about the tag>git tag -a xxx -m xxx
git tag "description" <commit id>
Upload to server
git push origin --tagsCheckout by using tag
git clone -b "tag name" ssh://root@111.10.10.10/home/happy/gitRevert by using tag
git reset --hardReference:
- [Git] 版本控制: 如何使用標籤(Tag)
- How to use git to download a particular tag?
- How do you revert to a specific tag in Git?
- Tag older commit in Git
0 意見:
張貼留言