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.
I'm fairly new to git and most of my interaction with it has been via the IntelliJ Idea IDE. But sometimes I use a command line. In one directory I did "git init", "git add files", and "git commit".
当前正在显示可能无法访问的结果。
隐藏无法访问的结果