13:37:49-androidyue/tmp/tagdemo (master)$ git tag
v1.0
v2.0
过滤查看
git tag -l
linenos:false
123
13:37:49-androidyue/tmp/tagdemo (master)$ git tag -l v*
v1.0
v2.0
git tag —list
linenos:false
123
13:37:49-androidyue/tmp/tagdemo (master)$ git tag --list v*
v1.0
v2.0
git tag | grep regex
linonos:false
123
13:45:26-androidyue/tmp/tagdemo (master)$ git tag | grep v
v1.0
v2.0
删除
linenos:false
12345
13:47:06-androidyue/tmp/tagdemo (master)$ git tag -d v1.0
Deleted tag 'v1.0'(was bc70b55)##或者13:47:11-androidyue/tmp/tagdemo (master)$ git tag --delete v2.0
Deleted tag 'v2.0'(was bc70b55)