git显示版本号

git describe --tags

用这个命令

原文地址:https://www.cnblogs.com/tangxiaosheng/p/9558470.html