Undoing a git rebase

前端 未结 18 1424
孤城傲影
孤城傲影 2020-11-22 02:41

Does anybody know how to easily undo a git rebase?

The only way that comes to mind is to go at it manually:

  • git checkout the commit parent to both of t
18条回答
  •  逝去的感伤
    2020-11-22 03:09

    I tried all suggestions with reset and reflog without any success. Restoring local history of IntelliJ resolved the problem of lost files

提交回复
热议问题