Git标签管理
来源:互联网 发布:亚马逊大数据平台 编辑:程序博客网 时间:2024/05/16 16:10
Git的标签相当于是版本的快照,可以使用标签取对应的版本,即使用tag代替commit id,方便管理。
1、标签的创建
git tag tagname (默认为当前,也可以制定commit id)
git tag tagname commitid
2、标签的查询
git tag (显示所有标签)
3、显示标签信息
git show tagname
4、指定tag说明
git tag -a tagname -m "comment" commitid
5、标签删除
git tag -d tagname
6、tag推送
git push origin tagname
git push origin --tags(推送全部的tag)
7、tag的远程删除
git push origin :refs/tags/tagname
0 0
- git 标签管理(六)
- Git标签管理
- Git 标签管理
- git标签管理
- git 标签管理
- Git标签管理
- git-标签管理
- git--标签管理
- Git标签管理
- Git系列之标签管理
- Git教程之标签管理
- Git 学习笔记 --- 标签管理
- Git(十一)、标签管理
- Git分支及标签管理
- 【Git入门之十一】标签管理
- git 的使用(7)-标签管理
- ceph存储 Git中tag标签管理
- Git学习笔记(标签管理)
- 添加WCF服务引用后生成空的reference.cs文件
- 十分钟搞清字符集和字符编码
- 第三章46题
- oracle监听奇葩案例--大家一起来找茬
- 第四章 4.21
- Git标签管理
- Java数据库之Oracle
- 关闭Ubuntu下的3D效果
- UE verilog always(*) 星花 被注释
- Emacs中使用R
- go lang学习笔记——接口
- IT项目经理应该做什么
- 栈和队列
- 南宁产后便秘严重怎么办