If you git revert the last commit, you're doing version control wrong. Use git reset --hard instead. It's the choice that makes sense in most scenarios. The other nice thing that happens when you git ...
Git provides two similarly named components that provide insight to the repository's commit history, log and reflog. Developers access the git log and git reflog commands through the command line.
一些您可能无法访问的结果已被隐去。
显示无法访问的结果