Description
In ServiceNow Studio, it is easy to lose changes to unsaved files when stashing.
Steps to Reproduce
- Have two files open in an application that is linked to source control.
- Open file A and file B.
- Make a change to file A.
- Save the file.
- Make a change to file B and do not save the change.
- Stash local changes.
Note that file A is stashed, the page is refreshed, and changes to file B are lost.
Workaround
Save changes to all files before performing the stash operation.
Related Problem: PRB662251