Home > Back-end >  How do I clone git private repository in eclipse?
How do I clone git private repository in eclipse?

Time:09-23

enter image description here

While trying to do that, I keep getting this error but my URL is correct. However, when I tested with public repo it works fine

CodePudding user response:

Since April 2021, no more password is accepted when authenticating Git operations on GitHub.com: you would need to use (or cache) a PAT (Personal Access Token)

Since a public repository does not require authentication when cloning, you would not see the same error message.

So: Double-check what password is used.
Said password could be cached in your Windows Credential Manager: see what git config credential.helper returns.

If it is manager-core, open the windows Credential Manager, and see if you have a github.com entry.
If you do, check the cached password.

  • Related