Git简单介绍

95 阅读1分钟

初始化一个项目

git init

查看历史记录

git log

回到过去的某次提交

git reset --hard 'commitId'
git reflog

相关参考