尝试撤消 rebase 时卡住

Gau*_*ana 3 git

在执行两个 Git 命令撤消 rebase 后,我遇到了一些错误。

git checkout topic 
git reset --hard origin/topic
Run Code Online (Sandbox Code Playgroud)

有人可以解释一下这是什么以及如何解决吗?我不想再次丢失我的代码。

git status 给我看这个

    Last command done (1 command done):
    pick c326b089c8 Revert "Conflicts removed from master, OffscreenCanvas changes ready for merge" Will rebase branch and resolve conflicts. This reverts commit 7357f2e5444bed9e93e1380331464a5332319d09.
   Next command to do (1 remaining command):
   pick 90bec670b4 Changes reverted in conflicting files. OffscreenCanvas API ready to be merged.
  (use "git rebase --edit-todo" to view and edit)
  You are currently editing a commit while rebasing branch 'testing' on '1b0b63edf9'.
  (use "git commit --amend" to amend the current commit)
  (use "git rebase --continue" once you are satisfied with your changes)

  nothing to commit, working tree clean
Run Code Online (Sandbox Code Playgroud)

提前致谢 !

pch*_*gno 7

git rebase --abort将中止变基操作并将您的存储库返回到开始变基之前的状态。自从开始 rebase 以来所做的一切都将丢失。