In ServiceNow Studio, it is easy to lose changes to unsaved files when stashing.

Steps to Reproduce

  1. Have two files open in an application that is linked to source control.
  2. Open file A and file B.
  3. Make a change to file A.
  4. Save the file.
  5. Make a change to file B and do not save the change.
  6. Stash local changes.
    Note that file A is stashed, the page is refreshed, and changes to file B are lost.


Save changes to all files before performing the stash operation.

Related Problem: PRB662251

Seen In

There is no data to report.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2019-05-21 11:32:22