代码之家  ›  专栏  ›  技术社区  ›  Cameron Hudson

如何删除git提交并合并到历史中所需的点

  •  0
  • Cameron Hudson  · 技术社区  · 6 年前

    Current repo history

    enter image description here

    我的历史是这样的:

    enter image description here

    我想通过GitKraken单独完成,而不使用命令行。

    我已经试过了 reset <branch> to this commit - hard ,和 Master 分支签出并与 Authentication

    谢谢你的帮助。

    1 回复  |  直到 6 年前
        1
  •  0
  •   Cameron Hudson    6 年前

    好吧,我不明白的是: 图标 . 这个 8 reset <branch> to this commit - hard ,GitKraken仍然显示位于Github上的稍后提交。

    解决方案:覆盖 master 右键单击最新的true commit并选择 push