How to Edit Nearly Anything in Your Guide

Comments

1 comment

  • Avatar
    Ariana Damon

    You made some commits, did a git reset --hard to “undo” those changes (see above), and then realized: you want those changes back!

    Undo with: git reflog and git reset or git checkout

    What’s happening: git reflog is an amazing resource for recovering project history. You can recover almost anything—anything you’ve committed—via the reflog.

    You’re probably familiar with the git log command, which shows a list of commits. git reflog is similar, but instead shows a list of times when HEAD changed.

    You can also check the 0xc00000e9 and it will help you.

Please sign in to leave a comment.