git查看工作状态和历史提交 查看状态命名 git status 回归最近一次提交 git rest HEAD 回归指定文件 git rest HEAD 文件名 获取最新版本 git checkout 查看历史log git log