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.

1 Answer 1

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.