上传到master权限也是这个问题

原因:权限问题,Develop角色默认下没有远程访问master的权限,至少将权限提升到Maintainer

提交代码
git branch 分支名
git checkout 分支名
git add XXX
git commit -m "提交的信息"
git remote add origin 远程仓库地址
git push -u origin 分支名

--

1.git push
2.git push origin <remote_branch>
3.git push origin <local_branch>:<remote_branch>