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