Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Resets index to former commit; replace '56e05fced' with your commit code
- git reset 56e05fced
- # Moves pointer back to previous HEAD
- git reset --soft HEAD@{1}
- git commit -m "Revert to 56e05fced"
- # Updates working copy to reflect the new commit
- git reset --hard
Add Comment
Please, Sign In to add comment