Using Windows exe from WSL is failing with "Invalid Argument" #1278
Labels
auth-issue
An issue authenticating to a host
external
Relating to an external partner, team, or library
platform:wsl
Specific to Windows Subsystem for Linux
Version
2.0.935+8b4735fc7b
Operating system
Windows
OS version or distribution
Windows 10 Enterprise, WSL2 Ubuntu 20.04
Git hosting provider(s)
Other - please describe below
Other hosting provider
Both Azure DevOps and GitLab
(Azure DevOps only) What format is your remote URL?
https://dev.azure.com/{org}
Can you access the remote repository directly in the browser?
Yes, I can access the repository
Expected behavior
I expect the
git
operations from Linux to complete using the authentication stored in Windows Credential Manager, the same as it does when running the same operations from PowerShell.Actual behavior
I see the error message
followed by a prompt for username and password. Entering the username and password does not store credentials and I am again prompted for every git operation.
Logs
Running from PowerShell
Running
git ls-remote
from WSLThe text was updated successfully, but these errors were encountered: