123sw 发表于 2018-9-17 07:02:34

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

  # 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中 。

页: [1]
查看完整版本: git push 报错:Deploy keys are not allowed to push code