Error when cloning Gitlab repositories

Asked

Viewed 1,206 times

0

I am trying to clone a repository I have created in Gitlab on my machine, but the following error is returned to me :

inserir a descrição da imagem aqui

I used the Github login to log into Gitlab and create the repository there. When I try to CLONE, I use Github user authentication, but this error is shown to me.

What should I do

  • Already tried to clone the repository from the URL [email protected]:raphaelpradoo/DiabetesMonitor.git?

  • The following error was returned to me by cloning like this: Cloning into 'C: Diabetesmonitor Projects'... fatal: Could not read from remote Repository. Please make sure you have the correct access Rights and the Repository exists.

  • And does not appear a "Permission denied" in this message, no? If yes, missing configure the access via public key, I believe.

  • No. Just the mistakes I described above

  • As @Andersoncarloswoss said up there, the problem seems to be the lack of the public key of your machine set up in Gitlab.

  • Where do I set up this key ?

Show 1 more comment

1 answer

0


Solved.

In Gitlab, I set a password for HTTPS. By cloning the repository, I just used that password to authenticate.

  • Opa I am going through the same problem as you have created a password for HTTPS ?

Browser other questions tagged

You are not signed in. Login or sign up in order to post.