How to Reset Reverting from Git
This article is about git.
I want to reset the reverting state instead of direct using directry.
How to revert
How to revert is typing the following command.git revert [commitID]
How to get commit-ID
How to get commit-ID is typing the following command.git rev-parse HEAD~{n}
A remedy of how to revert
I show a remedy of how to revert.git revert `git rev-parse HEAD`
How to reset the reverting state
How to reset the reverting state is typing the following command.git reset --hard `git rev-parse HEAD~1`
That's all.