【问题标题】:GitLab 7 CE Omnibus package in centOs7centOs7 中的 GitLab 7 CE Omnibus 包
【发布时间】:2015-02-25 19:26:33
【问题描述】:

我在 centOs7 中安装了 GitLab 7 CE Omnibus 包。我遵循了所有的安装说明。在我尝试将本地存储库推送到服务器之前,一切都运行良好。推送 repo 时,它要求我输入 git 密码。我输入了正确的 git 密码,但仍然出现此错误

$ git push -u origin master
git@192.168.1.149's password:
sh: git-receive-pack: command not found
fatal: The remote end hung up unexpectedly

解决此问题的大多数说明适用于手动安装的 GitLab。有人在centOs7 的GitLab 7 CE Omnibus 包中解决了上述问题吗?

【问题讨论】:

    标签: package windows-ce gitlab centos7


    【解决方案1】:

    不要使用 linux "git" 用户。

    您必须在您的 PC 中创建 ssh 密钥。

    $ ssh-keygen -t rsa -C "$your_email" 使用下面的代码显示您的公钥。 $ cat ~/.ssh/id_rsa.pub

    登录 GitLab 并将您的公钥粘贴到您的个人资料中。

    请看我的问题。 Cannot push into GitLab repository via ssh

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-06-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-06-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多