Git Clone - Repository not found

前端 未结 25 1271
心在旅途
心在旅途 2020-12-07 09:31
git clone 

gives the message fatal: repository \'url\' not found

I tried the options in the link, but it didn\'t work.

25条回答
  •  醉酒成梦
    2020-12-07 09:43

    For me the problems occurs because I have my old username/password settings saved for gitlab, so that I need to remove those credentials. I run the following command on my mac:

    sudo su
    git config --system --unset credential.helper
    

    and do the clone again, enter the username and password. And everything is fine.

提交回复
热议问题