lighttiger2505 / lab

lab is a cli client of gitlab like hub
MIT License
91 stars 9 forks source link

Not found gitlab remote repository #83

Open oxr463 opened 5 years ago

oxr463 commented 5 years ago

It appears this is due to cloning the repository using the username and token, as seen in this excerpt from the .git/config,

[remote "origin"]
        url = https://{{username}}:{{token}}@gitlab.com/{{group}}/{{project}}.git
lighttiger2505 commented 5 years ago

gitlab provides two URLs, ssh and http, and git clone using these should be a common use case.

19-09-21-022307

Is there a need for the lab command to support that URL?

oxr463 commented 5 years ago

Is there a need for the lab command to support that URL?

I'll leave that for you to decide. I typically clone with the username and personal token for private repositories, as the token is then stored in the git configuration.

ghost commented 3 years ago

This can happen when Netlify doesn’t have access to the repositories in an account. Make sure you have admin rights to the repository that you want to link to your site.

what to do