Author : MD TAREQ HASSAN | Updated : 2023/07/20
Prerequisites
Generate SSH Key:
- Download and install Git for Windows: https://git-scm.com/download/win
- Open Git GUI > Help > Show SHH Key
- Generate Key if not generated yet (press ok, ok to skip setting password)
Add SSH Key in Azure DevOps
- Login to Azure DevOps: https://aex.dev.azure.com/
- Select target organization from list of organizations
- Click “User settings” from top right > Click “SSH public keys”
- Click “+ New Key” (top right) > enter name and SSH key data > Add
Clone using git bash
- Go to the target repo
- Click “Clone” (top right)
- Click “SSH” > Copy SSH url
- Go to target folder > right click > open git bash
- Command:
git clone git@ssh.dev.azure.com:v3/xyzorg/devops-demo/test-repo
Clone using Visual Studio
Login to Visual Studio
Cloning from Azure DevOps Repos