8

I installed the Git-2.34.0-64-bit.exe from Git for Windows and picked most of the default options. The install said that it was going to use the "git-credential-manager-core" which seems to be the newest incarnation of this.

Having completed the install and reboot, when I navigate to a directory with a GIT repo and I type git status from the cmd line, it works fine.

But when I type git fetch it says:

git: credential-manager is not a git command. Most similar command is credential-manager-core

So, why isn't it using the core version of the credential manager, or rather, what do I need to do to make it use that?

Thanks

asked Nov 22, 2021 at 13:06

2 Answers 2

16

git credential-manager-core configure

Just needed to execute this, then it worked

answered Nov 22, 2021 at 14:16
Sign up to request clarification or add additional context in comments.

For newer version it's git credential-manager configure (without -core)
0

git credential-manager-core configure

Did not work for me, instead I updated my user .gitconfig file. Under the [credential] portion there are several helpers. This is what yours now should be:

[credential]
helper = manager-core
helper = 
helper = C:/Program\\ Files/Git/mingw64/bin/git-credential-manager.exe

If you look in the actual directory ( c:\program files\git\mingw64\bin ) you should be able to identify the credential manager and see that the old one is now missing.

answered May 2, 2024 at 19:42

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.