目錄
一? 問題描述
二? 權(quán)限問題
三 參考鏈接
一? 問題描述
$ 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 '
二? 權(quán)限問題
開發(fā)者權(quán)限不能提交push,醉了。
改成維護(hù)者,有push權(quán)限了。
三 參考鏈接
(143條消息) [Git]Gitlab設(shè)置分支的push權(quán)限_XiaoH0_0的博客-CSDN博客_git push權(quán)限設(shè)置
git創(chuàng)建分支 - 知乎 (zhihu.com)
(143條消息) Git pull 或 push 提示:The requested URL returned error: 403_lzcerT的博客-CSDN博客_git push403文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-598043.html
git push 報(bào)錯(cuò) pre-receive hook declined - 簡(jiǎn)書 (jianshu.com)文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-598043.html
到了這里,關(guān)于gitlab沒有push權(quán)限,重設(shè)賬號(hào)密碼仍然不行,問題解決的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!