GitLab git user password

前端 未结 19 1295
借酒劲吻你
借酒劲吻你 2020-12-02 22:10

I have just installed GitLab.

I created a project called project-x.

I have created few users and assigned it to the project.

Now I tried to clone:

19条回答
  •  暖寄归人
    2020-12-02 22:43

    My problem was that I had a DNS entry for gitlab.example.com to point to my load balancer. So when I tried command ssh git@gitlab.example.com I was really connecting to the wrong machine.

    I made an entry in my ~/.ssh/config file:

    Host gitlab.example.com
        Hostname 192.168.1.50
    

    That wasted a lot of time...

提交回复
热议问题