摘要: git 撤销远程分支的 push 背景 代码已分多次提交到自己的远程分支 目标 撤销某几次的提交内容 操作 git log 查看历史(查找到想要回溯到的版本号) git reset --soft <版本号> 重置至指定版本的提交,达到撤销提交的目的 git push origin branch_na 阅读全文
posted @ 2022-03-17 16:02 AKA绒滑服贵 阅读(246) 评论(0) 推荐(0) 编辑