git crate&query&delete tag
:/opt/myProject# git log --pretty=oneline
0169b7a1c4bccb47e76711f353fd8d3864bde912 (HEAD -> master) add c.c
da744be647e398abac90d8789edc6d73d6b53fa8 add b.c
7e45181bf8fd527625dd1465b049bca6f7ae84c2 add a.c
#crate tag
:/opt/myProject# git tag tag1.0 7e4518
# query tags
:/opt/myProject# git tag
tag1.0
:/opt/myProject# git show tag1.0
commit 7e45181bf8fd527625dd1465b049bca6f7ae84c2 (tag: tag1.0)
Author: panzidong <panzidong>
Date: Mon Dec 9 19:53:56 2019 +0800
add a.c
diff --git a/a.c b/a.c
new file mode 100644
index 0000000..e69de29
# delete tag
:/opt/myProject# git tag -d tag1.0
Deleted tag ‘tag1.0‘ (was 7e45181)
:/opt/myProject# git tag
相关推荐
formula 2020-11-12
huhongfei 2020-11-05
乾坤一碼農 2020-10-27
liumengyanysu 2020-10-22
E哥的aws认证攻略 2020-10-15
tianyafengxin 2020-10-08
guying 2020-10-05
好脑筋不如烂笔头 2020-09-17
nebulali 2020-09-11
佛系程序员J 2020-09-15
fenggit 2020-09-15
JustHaveTry 2020-09-11
兄dei努力赚钱吧 2020-09-06
IngeniousIT 2020-08-25
liumengyanysu 2020-08-17
guying 2020-08-16