Legacy - Stash local changes

  • Release version: Xanadu
  • Updated August 1, 2024
  • 1 minute to read
  • Application developers can remove and save changes locally to apply them later.

    Before you begin

    Important:
    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 Building applications with ServiceNow Studio.

    • Role required: admin
    • Link an application to source control
    • Change one or more application files

    About this task

    Stashing changes removes them from the current application and saves them for a developer to later apply or delete.

    Procedure

    1. From Studio, navigate to Source Control > Stash Local Changes.
      The system displays a list of locally changed files.
    2. Enter your description.
    3. Click Stash Local Changes.
      The system saves the current changes and displays a success message.
      Stash change dialog
      Note:
      In the San Diego release onward, user information is preserved with each update during stashing. When the stash is applied, each update is restored in the respective user's in-progress local update set.

    What to do next

    To learn more see Getting started with credentials