git stash //保存自己的代码 git checkout dev // 切换分支 git pull //拉取代码 git checkout 自己分支 git merge dev git stash pop // 拉取自己本地的代码 git add . git commit -m '功能' git push 提交远程