Guest User

Untitled

a guest
Sep 27th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. # Resets index to former commit; replace '56e05fced' with your commit code
  2. git reset 56e05fced
  3.  
  4. # Moves pointer back to previous HEAD
  5. git reset --soft HEAD@{1}
  6.  
  7. git commit -m "Revert to 56e05fced"
  8.  
  9. # Updates working copy to reflect the new commit
  10. git reset --hard
Add Comment
Please, Sign In to add comment