开发者社区> 问答> 正文

推送报错“GitLab: You are not allowed to acce?报错

我用的是TortoiseGit,以前一直用的好好的,能正常提交和推送,今天更新了一个自己的开源项目,推送时报错,信息如下:

git.exe push -v --progress  "origin" master:master

Pushing to git@git.oschina.net:calvinwilliams/G5.git
Counting objects: 31, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (16/16), done.
Writing objects: 100% (16/16), 16.13 KiB | 0 bytes/s, done.
Total 16 (delta 12), reused 0 (delta 0)
remote: GitLab: You are not allowed to access master!
remote: error: hook declined to update refs/heads/master
To git@git.oschina.net:calvinwilliams/G5.git
! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'git@git.oschina.net:calvinwilliams/G5.git'

git不能完全退出(退出码 1) (5594 ms @ 2014-06-11 21:12:54)

请问如何解决?

展开
收起
爱吃鱼的程序员 2020-06-20 17:13:53 533 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB
    http://www.cnblogs.com/trying/archive/2013/11/05/3408660.html

    http://www.oschina.net/news/52232/gitosc-https?#comments

    有效,谢谢^_^

    2020-06-20 17:14:11
    赞同 展开评论 打赏
问答分类:
问答标签:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载

相关实验场景

更多