Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- git reflog
- # you will see a list of every thing you've done in git, across all branches!
- # each one has an index HEAD@{index}
- # find the one before you broke everything
- git reset HEAD@{index}
- # magic time machine
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement