Reputation: 216
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.
Upvotes: 0
Views: 7460
Reputation: 1
git clone authentication failed image
solution proposal: Windows 10 Control Panel\User Accounts\Credential Manager
Windows Credentials > Add a Windows Crendial
Add your DevOps platform link > for example: app.company.local username: user password: pass and click ok after try again
Upvotes: 0
Reputation: 216
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.
Upvotes: -1
Reputation: 203
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.
Upvotes: 1