git commit -m 'commit1' git log git log --oneline //08764->commit1 git revert 08764(commitCode)(remove commit) git revert 09876(revert Code)(restore commit)