C96
C96

Reputation: 529

Why cant I clone repository from GitHub

I cant clone anything from GitHub.Every time I add my credentials, instead of bein able to clone the repository as normal, I get a message that says that

This is not a  valid repository

and then message below as well.

Command: git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks
ls-remote https://github.com/lindar-joy/mrq-wallet.git

Output: Error: Logon failed, use ctrl+c to cancel basic credential prompt.

I have tried the advice I found here, without any success:

https://github.community/t/git-clone-is-not-working-for-a-private-repo/501/3

Any suggestion would be much appreciated. Thank you in advance!

enter image description here

Upvotes: 0

Views: 1584

Answers (3)

Abdulrahman Azeez
Abdulrahman Azeez

Reputation: 11

I had the same problem for some time now but everything got fixed once I installed the new git version on my system.

Just visit this link https://gitforwindows.org/

Upvotes: 1

Chiwda
Chiwda

Reputation: 1364

Do this (from inside Git Bash):

git credential-manager uninstall

then:

git credential-manager install

It may complain - for me it complained on both steps that it failed, but it fixed my problem.

Upvotes: 1

C96
C96

Reputation: 529

I managed to bypass the issue by using Github Desktop

Upvotes: 0

Related Questions