I have created an organization in Azure DevOps. Under this organization, I created a project with private Git Repository in Azure DevOps. Now When I try to clone this repository using Visual Studio 2017 I keep getting below mentioned error.
**Git failed with a fatal error.
unable to access 'https://dev.azure.com/organizationame/projectname/_git/projectname/': The requested URL returned error: 403**
I tested this in visual studio by the following steps ,every thing works well.
1.Connect to a project in Team Explorer
2.On the Connect to a Project
page, select the repo you want to clone.
3.If a window pops up that requires credentials, enter your PAT and make sure your PAT has Read, write & manage
permission in section Code
.
4.The repository was cloned successfully.
If you have followed the steps but failed, please indicate at which step you got the error.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.