开发者社区 问答 正文

ios git push出错

Pushing to https://code.aliyun.com/fususenlin/kitsmart_ios.git
POST git-receive-pack (chunked)
remote: GitLab: You are not allowed to push code to protected branches on this project.
To https://code.aliyun.com/fususenlin/kitsmart_ios.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://code.aliyun.com/fususenlin/kitsmart_ios.git'

展开
收起
qfly 2017-04-07 14:09:18 3497 分享 版权
3 条回答
写回答
取消 提交回答
  • 也有可能只是没有master权限,master分支可能有设置push保护。

    2019-07-17 21:01:30
    赞同 展开评论
  • 强!

    你的权限不足以提交代码,需要master或者owner级别的人更你开通权限

    2019-07-17 21:01:30
    赞同 展开评论
  • 你的账号的角色没有push到这个分支的权限,需要找这个git仓库的管理员给你加权限

    2019-07-17 21:01:30
    赞同 展开评论
问答分类:
问答标签:
问答地址: