当前位置:   article > 正文

gitlab没有push权限,重设账号密码仍然不行,问题解决_! [remote rejected] main -> main (pre-receive hook

! [remote rejected] main -> main (pre-receive hook declined) error: failed t

目录

一  问题描述

二  权限问题

三 参考链接


一  问题描述

$ git push
Enumerating objects: 570, done.
Counting objects: 100% (570/570), done.
Delta compression using up to 12 threads
Compressing objects: 100% (541/541), done.
Writing objects: 100% (560/560), 75.00 MiB | 4.18 MiB/s, done.
Total 560 (delta 166), reused 10 (delta 5)
remote: Resolving deltas: 100% (166/166), completed with 9 local objects.
remote: GitLab: You are not allowed to push code to protected branches on this project.
To http://jiemi.taoimage.com:10079/yangxiaofeng/Calibration.git
 ! [remote rejected] main -> main (pre-receive hook declined)
error: failed to push some refs to '

二  权限问题

开发者权限不能提交push,醉了。

改成维护者,有push权限了。

三 参考链接

(143条消息) [Git]Gitlab设置分支的push权限_XiaoH0_0的博客-CSDN博客_git push权限设置

git创建分支 - 知乎 (zhihu.com)

(143条消息) Git pull 或 push 提示:The requested URL returned error: 403_lzcerT的博客-CSDN博客_git push403

git push 报错 pre-receive hook declined - 简书 (jianshu.com)

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/我家自动化/article/detail/806987
推荐阅读
相关标签
  

闽ICP备14008679号