When I view my branches through the Azure Devops portal I notice that I have the following;
feature/feature1
Feature/feature2
Locally through my git client (Fork) it looks correct;
feature/feature1
/feature2
How do I correct this on Azure devops and is there a way I can prevent this from occurring in the future?
There is a setting called "Case enforcement" (Project Settings -> Repositories -> Policies) that at least prevents case-sensitivity conflicts:
I doubt you can enforce a lowercase branch name with Azure DevOps right now - at least from the UI. However, you might be able to do this using the tf command line.
To correct your branch name, just create another branch based on your initial branch (ensure you have commited all your local changes) and then delete the initial branch.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With