File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -73,21 +73,27 @@ _Inside your WSL installation_, run the following command to set GCM as the Git
7373credential helper:
7474
7575` ` ` shell
76+ # For x64 or ARM64 installations of Git Credential Manager
77+ git config --global credential.helper " /mnt/c/Program\ Files/Git\ Credential\ Manager/git-credential-manager.exe"
78+
79+ # For x86 installations of Git Credential Manager
7680git config --global credential.helper " /mnt/c/Program\ Files\ \(x86\)/Git\ Credential\ Manager/git-credential-manager.exe"
7781
7882# For Azure DevOps support only
7983git config --global credential.https://dev.azure.com.useHttpPath true
8084```
8185
82- In ** _ Windows_ ** you need to update the ` WSLENV ` environment variable to include
83- the value ` GIT_EXEC_PATH/wp ` . From an _ Administrator_ Command Prompt run the
84- following:
85-
86- ``` batch
87- SETX WSLENV %WSLENV%:GIT_EXEC_PATH/wp
88- ```
89-
90- After updating the ` WSLENV ` environment variable, restart your WSL installation.
86+ > [ !IMPORTANT]
87+ > In ** _ Windows_ ** you need to update the ` WSLENV ` environment variable to
88+ > include the value ` GIT_EXEC_PATH/wp ` . From an _ Administrator_ Command Prompt
89+ > run the following:
90+ >
91+ > ``` batch
92+ > SETX WSLENV %WSLENV%:GIT_EXEC_PATH/wp
93+ > ```
94+ >
95+ > After updating the `WSLENV` environment variable, **restart your WSL
96+ > installation**.
9197
9298### Using the user-only GCM installer?
9399
You can’t perform that action at this time.
0 commit comments