My last commands:
git rebase -i HEAD^^ git rebase -i HEAD^^ git rebase -i HEAD^^^
How to return the repository to the state in which it was in front of the first of the listed commands?
NOTE: all I have done so far is git commit -am "my commit message" . I do not understand branching and merging, so I did not use them. I tried to drop the code until the previous commit, but it did nothing.
source share