Home > Software engineering >  Git Clone from public repository - Repository not found
Git Clone from public repository - Repository not found

Time:11-10

I am trying to clone from a public repository(it exists and available),it show "repository 'url' not found"

before that, I did changed my github password,then I deleted any credential from Windows credential relevant to git/github, hope it will give me a chance to update relevant information when git clone.

but it doesn't work, and show "repository 'url' not found" directly.

CodePudding user response:

If it is a public repository, the authentication should not matter.

Remains the URL, which is case sensitive and/or might include a typo.

Try and copy the URL directly from the Repository page, and git clone <paste the copied URL>.

CodePudding user response:

If you are trying to clone using SSH, you will have to add SSH keys into your GitHub account.

Since you have deleted all credentials, you might have also deleted SSH keys.

After that try cloning it again using git clone <SSH-URL>.

if this doesn't work clone using HTTP URL. git clone <https-url>.

  • Related