Git Reflog - The Lifesaver

April 5, 2019
git

GIT has a million commands, don't forget this one - reflog

I'll come back and post more, but if you end up in a situation that ends with you losing your wor, but you committed them, there's a potential savior.

GIT Reflog -

  • https://www.atlassian.com/git/tutorials/rewriting-history/git-reflog
  • https://stackoverflow.com/questions/10228760/fix-a-git-detached-head