Hey I\'m new to git and I need to undo a pull, can anyone help?!? So what I\'ve done is...
using git reflog you will see a list of commits HEAD pointed to in the past
git reflog
using
git checkout -b after-commit HEAD@{1} # or the commit you want to recover
you create a new branch at that precise position and check it out