[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中 。
版权声明:本文为kjh2007abc原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。