Legacy - Set default branch

  • 릴리스 버전: Australia
  • 업데이트 날짜 2026년 03월 12일
  • 소요 시간: 1분
  • Set a default branch when you want to use a branch other than main for new changes or for your main development repository.

    시작하기 전에

    중요사항:
    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.

    프로시저

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

    결과

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