git处理冲突提交,撤销提交命令 撤销上次提交 git reset --hard HEAD^ 解决冲突时无法拉取步骤: git stash 隐藏本地修改,冲突时候可以继续拉取 git pull 拉取 git stash pop 拿出本地修改,拉取之后会冲突,一一修改冲突文件,之后再提交