Skip to content

Instantly share code, notes, and snippets.

@arjus
Created April 27, 2018 10:32
Show Gist options
  • Save arjus/ab06f9af5901359e7b6c4cf9ce4db3df to your computer and use it in GitHub Desktop.
Save arjus/ab06f9af5901359e7b6c4cf9ce4db3df to your computer and use it in GitHub Desktop.
#example
git reset --hard f414f31
git reset --soft HEAD@{1}
git commit -m "Reverting to the state of the project at 2b9ee75"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment