Skip to content

git-credential-manager-core.exe moved #1557

@mromanch

Description

@mromanch

Documentation Issue

The location for the GCM has moved since Git for Windows v2.36.0. It is now located at /mnt/c/Program\ Files/Git/mingw64/bin/git-credential-manager-core.exe. This is announced in the release notes here: https://github.com/git-for-windows/build-extra/blob/main/ReleaseNotes.md#new-features-1. Here is the pull request -- git-for-windows/build-extra#406.

Link to documentation page

https://docs.microsoft.com/en-us/windows/wsl/tutorials/wsl-git#git-credential-manager-setup

It is the embedded bash script that is right after the statement, "To set up GCM for use with a WSL distribution, open your distribution and enter this command".

The current text that is incorrect is:

git config --global credential.helper "/mnt/c/Program\ Files/Git/mingw64/libexec/git-core/git-credential-manager-core.exe"

Suggested Improvements

The document already informs users that they should install the latest version of Git for Windows. Therefore, the documentation should use the latest path location for the Git Credential Manager (GCM). The text should be changed to:

git config --global credential.helper "/mnt/c/Program\ Files/Git/mingw64/bin/git-credential-manager-core.exe"

A new note should be added to let user's with the old version know about the path change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions