命令git tag <tagname>用于新建一个标签,默认为HEAD,也可以指定一个commit id; 命令git tag -a <tagname> -m "blablabla..."可以指定标签信息; 命令git tag可以查看所有标签。