Advertisement
Guest User

Untitled

a guest
Feb 21st, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. git reflog
  2. # you will see a list of every thing you've done in git, across all branches!
  3. # each one has an index HEAD@{index}
  4. # find the one before you broke everything
  5. git reset HEAD@{index}
  6. # magic time machine
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement