Free To Feel

Heading to entrepreneur.

Joshua Chi

Restore Lost Commits After Git Hard Reset

Sometimes, you will make mistakes. But when someone told you there still is a hope that if you try xxxxx. What feeling will you have?

The following might be one solution after 'git reset --hard' and realized you made a mistake:

  $ git reflog
  $ git merge 7c61179

Check the blog post here.

comments powered by Disqus