MicrosoftDocs / WSL

Source code behind the Windows Subsystem for Linux documentation.
https://docs.microsoft.com/windows/wsl
Other
1.92k stars 579 forks source link

Additional configuration for Azure is possibly wrong #2029

Open garysassano opened 2 months ago

garysassano commented 2 months ago

Type of issue

Missing information

Feedback

Azure DevOps Services was formerly known as Visual Studio Team Services (VSTS). If you're using an older Azure DevOps account, you might still have a <org>.visualstudio.com link when cloning repositories from Azure Repos. In this case, the configuration recommended in the guide will not work because it assumes a newer account format of dev.azure.com/<org>.

As a result, the following command will not function correctly:

git config --global credential.https://dev.azure.com.useHttpPath true

To achieve the equivalent functionality for the visualstudio.com domain, you should use the following command instead:

git config --global credential.https://*.visualstudio.com.useHttpPath true

Page URL

https://learn.microsoft.com/en-us/windows/wsl/tutorials/wsl-git

Content source URL

https://github.com/MicrosoftDocs/wsl/blob/main/WSL/tutorials/wsl-git.md

Author

@craigloewen-msft

Document Id

12e275fa-8010-5e5a-af8c-120f11ab0932