xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

git tag All In One

git tag All In One

image

$ git tag --help

# (cedec380)在指定的分支上打 tag
$ git tag -a stable-version-1.1.1 cedec380  -m "stable version 1.1.1"

# (master)在当前的分支上打 tag
$ git tag -a v1.4 -m "my version 1.4"

# list 通配符*
$ git tag -l "v1.8.5*"



# Lightweight Tags
$ git tag v1.4-lw 

https://git-scm.com/docs/git-tag

https://git-scm.com/book/en/v2/Git-Basics-Tagging

打标签

https://git-scm.com/book/zh/v2/Git-基础-打标签

https://www.atlassian.com/git/tutorials/inspecting-a-repository/git-tag

image

refs



©xgqfrms 2012-2020

www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!


posted @ 2020-10-13 10:03  xgqfrms  阅读(108)  评论(1编辑  收藏  举报