Introduction

« Breaking News » the Git project has decided to use as default branch main instead of master.

As very well described in the following article, Microsoft has set on november 2020 the default branch of all new Azure DevOps Repos to be main instead of master.

“Microsoft is joining the Git project ( statement,  code change) and multiple vendors  including GitHub in delivering these changes. As an industry, we’re making an effort to move towards more inclusive language.”

New Git Repos

New Repos will inherit from a policy that set the default branch name for new Repos.

This policy is set at the different levels:

  1. The Organization level under “Organization Settings” -> “Repositories”
  2. or at the Project level under “Project Settings” -> “Repositories” -> “Settings”

#git #repos #main #azure

Set the default branch on your Azure DevOps Repos
1.50 GEEK