local modfiy
git reset --mixed
git add
git checkout --
git reset --soft
Local Repo本地仓库
git reset --hard
Working Directory当前修改版本
Remote Repo远程仓库
Staging Area暂存区
git commit
前一版本
git reset HEAD
Git的提交与回滚
git push
git reset --hard HEAD^ & git push -f不建议这么做哦~