remote: Repository not found. on my own github

865 views git
-2

OS: Windows10
git version: 2.23.0.windows.1

few months ago I've forked a repository and everything worked perfectly. I've had to hard reset my windows, now whenever I try to clone forked repository using it git clone 'https://github.com/user_name/repo_name.git'.

it gives me remote: Repository not found. fatal: repository 'https://github.com/user_name/repo_name.git/' not found

running git config --list all of my credentials are correct. What might be the cause?

following @VonC
first, I've tried git clone https://github.com/user_name/repo

which outputs fatal: unable to access 'https://github.com/user_name/repo/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

second, I can access repo by inserting https://github.com/user_name/repo successfully.

answered question

1 Answer

3

First, try git clone https://github.com/user_name/repo_name (no quotes, no final .git/)

Second, double-check the case (upercase, lowercase) of your URL, trying to go to git clone https://github.com/user_name/repo_name in a browser to see if it is visible/accessible.

Note that git config includes only user.name/user.email, which are not credentials (only settings used for authorship when creating new commits)
Credentials would matter only if your repository is private.

Regarding the OpenSSL error message, check if git config --global http.sslBackend "openssl" helps, following desktop/desktop issue 3326.

posted this

Have an answer?

JD

Please login first before posting an answer.