1.暂存本地代码
2.拉取远程仓库代码,获取别人上传的更新
3.将本地暂存的代码合并
4.上传合并后的代码
git add .
git stash save "message"git pull remote branchgit stash popgit add .git commit -m ""git push remote branch
个人常用的git提交代码流程
原文:https://www.cnblogs.com/LeorI/p/13513064.html