0

The thing is that I already set up my username and password. But now I am going to work on a special repository where I have to set different credentials and I need to do it from the console.

All I see on the internet is how to set your name and email. But, in which part the console will ask me for my username and password?

Obviously when I try to clone that repo, the console throws an error saying that I don't have permissions. That's why I need to put my old credentials.

Reacting
  • 4,802
  • 7
  • 28
  • 72

1 Answers1

1

There are mainly two ways to do that, SSH and HTTPS. Both methods are covered by this post. Based on your information, I think the HTTPS way is what you are looking for.

Community
  • 1
  • 1
Yang Yang
  • 391
  • 2
  • 10