整理下如何对已上线的代码打tag
git tag
v1.0.3
v1.0.4-201703081020
v1.0.5-201704141453
v1.0.6-201704151447
v2.3.1
git tag -l v1.0.*
v1.0.3
v1.0.4-201703081020
v1.0.5-201704141453
v1.0.6-201704151447
git tag -a v2.3.2 -m ‘新上线内容说明‘
git push origin v2.3.2
这样在线上就可以看到了。
原文地址:http://blog.51cto.com/coffee/2092845