Open xgqfrms opened 4 years ago
$ git log
# q === quit
$ git reflog
$ git revert -m 1 "commit_hash"
$ git reset --hard commit_sha
3fbcf7783c34163321a3fb320a42bd09e49db3d6
5f2b18967eb3f0187f41941e8d7121832d68ef99
https://github.com/xgqfrms/git-revert/commit/89ee651d9846ed311d3b1c73b61b419dac845c0b
89ee651d9846ed311d3b1c73b61b419dac845c0b
git revert merge
https://stackoverflow.com/questions/2389361/undo-a-git-merge-that-hasnt-been-pushed-yet
https://stackoverflow.com/questions/7099833/how-to-revert-a-merge-commit-thats-already-pushed-to-remote-branch
https://stackoverflow.com/questions/11722533/rollback-a-git-merge/29110174