0

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
  • 1
    Github no longer allows passwords for Git. Use PATs or SSH keys. Commented Aug 11, 2021 at 13:27
  • I think you might find the answer here: stackoverflow.com/questions/63750973/… Commented Aug 11, 2021 at 14:46

3 Answers 3

1

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.

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

1 Comment

This is a bit late but changing the terminal worked for me, Thanks @Carlitos
0

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

Comments

-1

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.

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.