Git 常用几个操作 获取 git clone git@github.com:XXX/learning.git 更新 git pull 添加 git add XXX 上传本地 git commit -m "append XXX" 上传 git push origin master 查看状态 git status 回退到某一个版本 $ git reset --hard 3628164