git的提交和回滚
2019-12-03 19:23:37 0 举报
Git回滚流程
作者其他创作
大纲/内容
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不建议这么做哦~
0 条评论
下一页