Understanding Default Branch Names

When a new repository, both scratch or non-scratch, is created for a workspace, main is now used as the default branch.

When a repository is cloned, the default branch, which could be master, main, or anything that has been set manually, is used to determine whether it contains an application and can be cloned.

Publish actions always use the current default branch as the target branch. Existing workspaces behave as they always have — VB Studio won't try to automatically update the default branch to main. So, a scratch workspace that was created prior to this release will continue to use master as the repository default when it is pushed, whereas a newly created one will use main.

If you change the repository's default branch after the workspace's build jobs have been created, you'll need to manually update those jobs to use the new default branch name.