天天看點

git tag All In One

git tag All In One

git tag All In One

git tag All In One
$ 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​​

git tag All In One

xgqfrms