June 13, 2024, Abdush Miah
You're ready to start your next project and you've created for yourself an Azure DevOps project as well as a new repo. In attempting to clone your new repo you see the following error:
Navigate back to your Azure DevOps instance and navigate to your project
Click on "Repos" and on the hand side pane click on "Clone"
Next you will see the following screen, you will need to click on "HTTPS" -> "Generate Credentials"
Copy the generated password and keep it safe as well as copying the url to the repo.
Navigate to cmd or terminal if you have a mac and navigate to your favourite destination where you like to store your projects.
Type the following command to then clone the repository and or paste the url you copied earlier:
git clone https://{yourOrgName}@dev.azure.com/{yourOrgName}/{yourProjectName}/_git/{yourRepoName}Enter the password you copied earlier when prompted.