当本地分支落后远程分支时, 推送会被拒绝
解决方案为:
先拉取远程代码:
git pull origin dev
然后正常提交:
git commit -m 'dev' git push origin dev