个人博客 https://blog.fmujie.cn/ 查看提交履历 $ git log $ git log --oneline $ git log -n 把握Git状态 $ git status $ git checkout -- [file] #切换版本 比较修改内容 $ git diff [--cached] #缓冲区 同(一)