合并最近的几次提交到一次commit:
https://blog.csdn.net/xiaowu_zhu/article/details/83345313
$ git rebase -i HEAD~6
# mark the others commit with squash/fixup
$ git push origin master -f
删除本地tag:
git tag -d v1.1
删除远程tag:
git push origin --delete tag V1.1
合并最近的几次提交到一次commit:
https://blog.csdn.net/xiaowu_zhu/article/details/83345313
$ git rebase -i HEAD~6
# mark the others commit with squash/fixup
$ git push origin master -f
删除本地tag:
git tag -d v1.1
删除远程tag:
git push origin --delete tag V1.1
本文标题:git 压缩提交记录次数 和 删除 Tag
本文链接:https://www.haomeiwen.com/subject/ievfqktx.html
网友评论