Reputation: 529
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!
Upvotes: 0
Views: 1584
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
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