0
点赞
收藏
分享

微信扫一扫

git push 报错:Deploy keys are not allowed to push code

快乐码农Alan007 2022-07-13 阅读 147



[root@hkjump web-test]# git push 

GitLab: Deploy keys are not allowed to push code.

fatal: The remote end hung up unexpectedly



解决办法:

      Gitlab中有两种key:

       一种是deploy key, 他是只读的,deploy key在需要部署的某个project的setting中。

       另一种为SSH key,可读可写,如果需要Push,应该添加SSH key,SSH key在profile setting中 。


举报

相关推荐

0 条评论