I have created a new repository in azure repos and the branch name is defaulting as "main", whereas my expectation is it should have been master.
Please explain if someone knows the reason.
Recently default branch name was changed from master
to main
. Please check it here - Azure Repos default branch name
What if I want to keep using master?
If you prefer not to change, you should enable this feature and set master as your preferred branch name. Then, when the default changes to main, your repositories will continue to use master.
But you can change it here: