I did a git pull. Then, a fast forward merge happened and multiple objects and commits were added to my local repository.
Some things went wrong and I would like to go back to how the local repository was before pulling new objects from upstream.
Hence, I would like to checkout the last commit before pulling. The problem is that I do not remember what was the last commit before pulling.
Is there a command to show the last commit before pulling? Maybe another command that shows what as added on the last git pull?
Thanks.
Do mean something like?
git reflog <branch>
It is explained here: git: what commit was I on before I merged?