After executing two Git commands to undo a rebase, I am stuck with some errors.
git checkout topic
git reset --hard origin/topic
Can someone please explain what this is and how is it to be resolved ? I do not want to lose my code again.
git status
shows me this
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
Thanks in advance !