Do not believe a thing because you read it in a book! Do not believe a thing because another has said it so! Find out the truth for yourself.
Bill Vaughan, according to the Internet
Don't believe all I say, RTFM.
Format: git revert <git-object>
example: git revert 123abc
Revert merges
Revert merges
What about changes in between?
Know what you want to do to know what to do
If you want to:
git revert gitObject
If you want to:
git checkout gitObject
If you want to:
git branch theBranch
git checkout theBranch
or
git checkout -b theBranch
If you want to:
git checkout [gitObject] path
If you want to:
git reset --hard newPosition
If you want to:
git reset --hard
If you want to:
git reset