0
votes

I've set up a new github account and I'm trying to clone a private repo using anaconda prompt. I've never had any issues before on old accounts. After typing the following command:

git clone https://github.com/anumana-ts/analytics.git

and typing the correct (I've confirmed this many times) username and password, I get the following error:

remote: Repository not found.
fatal: Authentication failed for 'https://github.com/anumana-ts/analytics.git/'

Can anyone tell me what the issue is? I've created and cloned many git accounts in my time but never seen this error before. Thanks.

2
Github no longer allows passwords for Git. Use PATs or SSH keys. - phd
I think you might find the answer here: stackoverflow.com/questions/63750973/… - PunchBird

2 Answers

0
votes

I am not familiar with anaconda prompt. Have you tried another terminal? Built in Linux or mac terminal? For me it does not look like a problem with credentials. Please check if the repository url is correct or if your prompt has any issues.

0
votes

I solved this by downloading the git bash terminal and using that to clone. The terminal redirected me to github where I could sign in using my credentials. I was then able to use the anaconda prompt as normal.