git stash 先将本地修改暂存起来git pull 拉取远程分支内容git stash pop 取出暂存内容解决冲突git add . 提交修改内容git commit -m “” 提交到本地工作区git push 远程分支