目录
一 问题描述
二 权限问题
三 参考链接
一 问题描述
$ 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文章来源:https://www.toymoban.com/news/detail-598043.html
git push 报错 pre-receive hook declined - 简书 (jianshu.com)文章来源地址https://www.toymoban.com/news/detail-598043.html
到了这里,关于gitlab没有push权限,重设账号密码仍然不行,问题解决的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!