原博客链接:www.aobosir.com/blog/2016/1…
参考网站:
要想给代码库贴标签,Github For Windows 软件上没没有这个按钮。你需要在Github For Windows 软件上打开 Git 命令行窗口,还是要使用命令行工具来完成这个工作。
git tag -a v1.0 -m "description information"
git push origin v1.0
- 1
- 2
当你执行完git tag -a v1.0 -m "description information",想要查看一下,你可以执行:
git show v1.0
- 1
如果你执行完git tag -a v1.0 -m "description information",想要删除这个标签,可以执行:
git tag -d v1.0
- 1
请访问:www.aobosir.com/