设置本地分支追踪远程分支
之后就可以直接使用git push提交代码
git push --set-upstream origin
原文:https://www.cnblogs.com/mengfangui/p/9523625.html