Set a default branch when you want to use a branch other than main for new changes or for your main development repository.

Before you begin

Important: You've landed at the legacy version of Studio, which will be supported until the Australia release in Q1 2026. Try building and editing apps in the new version of ServiceNow Studio instead. For more information, see Building applications with ServiceNow Studio.

Procedure

  1. Follow the steps to Add a system property .
  2. Add the glide.source_control.default_branch_name property, and specify the default branch name of the GIT source control repository to work from (pull requests, code commits, etc.).

Result

Application developers' work is managed from and saved into the default branch if not otherwise specified. If not changed, this value defaults to sn_instances/<instance_name>.