View uncommitted changes

View changes that you saved to the local project but have not yet committed to the repository. You can then use the
Uncommitted changes
dialog box to view or discard uncommitted changes.
Prerequisites
  • Save but do not commit changes to the local project.
To view uncommitted changes
  1. Select
    File > Source control > Uncommitted changes
    or double-click an uncommitted change in the
    Change history
    tab.
    TIP: The
    Uncommitted changes
    menu option appears only if there are saved but uncommitted changes in the project.
  2. In
    Uncommitted changes
    , select the row of an uncommitted change to view the last committed version and the code of the uncommitted change.
  3. Select either:
    • Close
      . Retain all of the uncommitted changes in the
      Uncommitted changes
      dialog box.
    • Discard uncommitted changes
      . Discard all of the uncommitted changes in the
      Uncommitted changes
      dialog box. You cannot undo the discard of uncommitted changes. The changes saved to the local project will be removed. 
  4. (optional) If you discard uncommitted changes, the message
    The uncommitted changes will be removed from the local project
    appears. Select
    Discard
    .
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.