...
Open Azure DevOps
Go to Branches > New Branch
Add a name, select your work item and click on create
The standard for branch’s name: feature/PbiNumber-PbiTitle
Delete a local branch
...
You need to track/checkout another branch before deleting the branch you want. In my case, before delete 119000-TrainingLink
I need to choose another one like Dev > right mouse button > Checkout
After this, I can delete my branch
Delete a local project
Open Windows Explorer > Go to your project path > right mouse button > Delete
Refresh the list of remote branches in Visual Studio
This was my visualisation before the refresh
...
Go to Team Explorer settings
Select either "Global Settings" and "Repository Settings"
Set "Prune remote branches during fetch" to
true
Go to Git > Sync (Pull then Push)
This was my visualisation after the refresh
...
Clone git repository with Visual Studio 2013
...
Clone Repository
Select Azure DevOps
In this step, we need to be connected. When you are connected, we can see in the list dev.azure.com > transport-canada.
If you don’t see the option in the list, you need to add the server. Click on Add Azure DevOps Server > Add the URL https://dev.azure.com/ > Add. After that, the list will be updated.
Select transport-canada > DSD-CivAv Support > Training project. Set up your path to finish the clone.
Click on Team Explorer > Git Repository
or View > Git Repository
Track/Checkout your DevOps branch. When you clone the repository, the default branch will be the default branch of the DevOps repository. Select your branch > right button > checkout
or you can set/track/checkout your branch from here
If you received a message “A branch with the name “feature/yourbranch” already exists I advise you to start the process again. Don’t forget to delete your project folder (like I said on Delete a local project)