Legacy - Set default branch

  • Freigeben Version: Australia
  • Aktualisiert 12. März 2026
  • 1 Minute Lesedauer
  • Set a default branch when you want to use a branch other than main for new changes or for your main development repository.

    Vorbereitungen

    Wichtig:
    Starting with the Xanadu release, the legacy version of ServiceNow Studio is being prepared for future deprecation. It will be hidden and no longer activated on new instances but will continue to be supported. For details on the deprecation process, see the Deprecation Process [KB0867184] article in the Now Support Knowledge Base.

    Try building and editing apps in the current version of ServiceNow Studio instead. For more information, see ServiceNow Studio.

    Prozedur

    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.).

    Ergebnisse

    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>.