推送报错“GitLab: You are not allowed to access master”,请帮忙看看,谢谢
我用的是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)
请问如何解决?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
http://www.oschina.net/news/52232/gitosc-https?#comments
有效,谢谢 ^_^
http://www.cnblogs.com/trying/archive/2013/11/05/3408660.html