首页 > 其他 > 详细

Git Note - git tag

时间:2014-07-10 14:27:29      阅读:500      评论:0      收藏:0      [点我收藏+]

git tag is used to create labels, usually for version numbers.
Format: git tag <TagName> <refer>
Example:

git tag v0.1 HEAD

is to create a version number v0.1 on current HEAD.

Notice:
When you git push your code to remote server, you need to add --tags option.

git push --tags

Delete local tags

git tag -d v1.0

Delete remote tags

git push origin :/refs/tags/v1.0

Git Note - git tag,布布扣,bubuko.com

Git Note - git tag

原文:http://www.cnblogs.com/craftor/p/3811572.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!