git tag 推送
1. 本地代码修改后需要推送之前要先pull一下远程分支的代码。git push origin tag标签。2. 首先将所有更改添加到暂存区。5. 获取最新tag标签。origin远程仓库。
·
1. 本地代码修改后需要推送之前要先pull一下远程分支的代码
git pull
2. 首先将所有更改添加到暂存区
git add .
3. 创建一个带有消息 '消息内容'
的新提交
git commit -m '消息内容
'
4. 将这个提交推送到远程仓库例如: origin远程仓库
的 dev
分支上
git push origin dev
5. 获取最新tag标签
git describe --tags
6. 推送tag标签
git push origin tag标签
更多推荐
所有评论(0)