zzh@ZZHPC:/zdata/Github/zzhrepo1$ git add -A zzh@ZZHPC:/zdata/Github/zzhrepo1$ git commit -m "update function CubeVolume()" [main 13f27a8] update function CubeVolume() 1 file changed, 9 insertions(+), 2 deletions(-) zzh@ZZHPC:/zdata/Github/zzhrepo1$ git tag -a v1.0.1 -m "update function CubeVolume()" zzh@ZZHPC:/zdata/Github/zzhrepo1$ git push origin main --tags Enumerating objects: 8, done. Counting objects: 100% (8/8), done. Delta compression using up to 6 threads Compressing objects: 100% (4/4), done. Writing objects: 100% (5/5), 650 bytes | 650.00 KiB/s, done. Total 5 (delta 0), reused 0 (delta 0), pack-reused 0 To https://github.com/XXX/zzhrepo1.git 922a6da..13f27a8 main -> main * [new tag] v1.0.1 -> v1.0.1
标签:ZZHPC,Git,tag,zzhrepo1,git,done,main From: https://www.cnblogs.com/zhangzhihui/p/17608119.html