git log  查看版本历史信息

git reset  310fa5c0b0ac6a3390abcaae01314e6cdc9186dc 提交恢复到某一次版本

git branch 查看分支 * master

git commit –a 保存并修改提交