@@ -21,20 +21,46 @@ Start by installing the [latest Git for Windows ⬇️][latest-git-for-windows]
2121_ Inside your WSL installation_ , run the following command to set GCM as the Git
2222credential helper:
2323
24+ > [ !IMPORTANT]
25+ > The exact location of git-credential-manager.exe may be different in your
26+ > installation of Git for Windows depending on the version you have installed.
27+ > Please check and confirm the actual installation path before proceeding.
28+
29+ ### Git for Windows (x64 / x86_64 / "64-bit")
30+
31+ The latest versions of Git for Windows for x64 (v2.56.0 and later) use the
32+ ` ucrt64 ` toolchain and installation path:
33+
34+ ``` shell
35+ git config --global credential.helper " /mnt/c/Program\ Files/Git/ucrt64/bin/git-credential-manager.exe"
36+ ```
37+
38+ Older versions of Git for Windows for x64 (v2.55.x and earlier) use the
39+ ` mingw64 ` toolchain and installation path:
40+
2441``` shell
2542git config --global credential.helper " /mnt/c/Program\ Files/Git/mingw64/bin/git-credential-manager.exe"
2643```
2744
28- > ** Note:** the location of git-credential-manager.exe may be different in your
29- installation of Git for Windows.
45+ ### Git for Windows (ARM64)
3046
31- If you intend to use Azure DevOps you must _ also _ set the following Git
32- configuration _ inside of your WSL installation _ .
47+ All known versions of Git for Windows for ARM64 use the ` clangarm64 ` toolchain
48+ and installation path:
3349
3450``` shell
35- git config --global credential.https://dev.azure.com.useHttpPath true
51+ git config --global credential.helper " /mnt/c/Program\ Files/Git/clangarm64/bin/git-credential-manager.exe "
3652```
3753
54+ ## Azure DevOps Additional Configuration
55+
56+ > [ !IMPORTANT]
57+ > If you intend to use Azure DevOps you must _ also_ set the following Git
58+ > configuration _ inside of your WSL installation_ .
59+ >
60+ > ``` shell
61+ > git config --global credential.https://dev.azure.com.useHttpPath true
62+ > ` ` `
63+
3864# # Configuring WSL without Git for Windows
3965
4066If you wish to use GCM inside of WSL _without installing Git for Windows_
0 commit comments