Gitlab prompts for password while push for git user

前端 未结 8 1084
遇见更好的自我
遇见更好的自我 2020-12-24 06:55

I installed gitlab on my servers at linode. All services of gitlab are working fantastic. I am able to login, create users, repos etc. But the problem I am facing is when I

8条回答
  •  囚心锁ツ
    2020-12-24 07:17

    In my case, I had to add the remote repository with ssh as

    git remote add gitlab ssh://git@your.project:222/git/repo_name.git 
    

    which made git not request me the password again. Note the use of ssh:// and port=222.

提交回复
热议问题