How to determine the version of Git Credential Manager for Windows?
Asked Answered
P

4

11

Is there a command or other way to determine the version of Credential Manager in my git installation?

Poul answered 18/4, 2019 at 9:30 Comment(0)
O
19

From Git-Credential-Manager's GitHub documentation

Assuming the GCM has been installed, using your favorite Windows console (Command Prompt, PowerShell, ConEmu, etc.), use the following command to interact directly with the GCM.

    git credential-manager [<command> [<args>]]

So to display the current version you can use

    git credential-manager version

If you are using a newer git for Windows version that includes credential-manager-core the command is:

git credential-manager-core --version
Ormiston answered 18/4, 2019 at 11:41 Comment(1)
@Ray Megal, I think that the "correct" name regardless if it's Windows or not, is "credential-manager" ( aka.ms/gcm/rename ). If you go to the directory for that executable (C:\Program Files\Git\mingw64\bin for git >=2.36.1), you can see there's two executables for "git-credential-manager", one with the "-core.exe" and the other without. If you see the properties of both, you can see they are the same, and on the details for the one with the "-core.exe", you can see that the original filename is "git-credential-manager.exe".Hamforrd
A
4

As for the most recent version of Git, to check for the current GCM version, use this command line:

git credential-manager --version

Further explanation can be found in Esteban's response to Ray's answer.

Acetal answered 17/4 at 12:41 Comment(0)
L
2

With more recent installs of git, try either of the following:

git-credential-manager --version
git credential-manager --version
Lowering answered 21/2 at 3:18 Comment(0)
A
0

Run git credential-manager version as described here.

Assign answered 18/4, 2019 at 9:39 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.