0

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.

Gino Mempin
  • 25,369
  • 29
  • 96
  • 135
priya
  • 391
  • 1
  • 5
  • 24

1 Answers1

2

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:

enter image description here

Krzysztof Madej
  • 32,704
  • 10
  • 78
  • 107