Skip to content

Git for Windows installs into %USER%\AppData\... #1873

@GreySpike

Description

@GreySpike

Documentation Issue

The path to GCM is no longer, at least for git version 2.43.0.windows.1,
git config --global credential.helper "/mnt/c/Program\ Files/Git/mingw64/bin/git-credential-manager.exe"
but
git config --global credential.helper "/mnt/c/Users/XXXX/AppData/local/Programs/Git/mingw64/bin/git-credential-manager.exe"

Link to documentation page

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

Suggested Improvements

Add a new version section to give the correct path for GCM.

Also the box note implies that all git config in WSL should be repeated for Windows git; is that always true or only for specific config? Clarify and provide both Windows and WSL examples if the recommendation is to keep them in sync.

Metadata

Metadata

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