
- 使用git rebase 命令, 交HEAD 变基到寻找最大子串的位置
git rebase -I 06b32d2
执行完命令 出现如下的提示:

- 点击i 进入vi的编辑模式, 修改最上方的文字:
reword 06b32d2 寻找最大子串
保存并退出 git rebase --continue
git push --force
git rebase -I 06b32d2
执行完命令 出现如下的提示:
reword 06b32d2 寻找最大子串
保存并退出git rebase --continue
git push --force
本文标题:Git 利用rebase 回退远程仓库
本文链接:https://www.haomeiwen.com/subject/ackvxktx.html
网友评论