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
- SelectFile > Source control > Uncommitted changesor double-click an uncommitted change in theChange historytab.TIP: TheUncommitted changesmenu option appears only if there are saved but uncommitted changes in the project.
- InUncommitted changes, select the row of an uncommitted change to view the last committed version and the code of the uncommitted change.
- Select either:
- Close. Retain all of the uncommitted changes in theUncommitted changesdialog box.
- Discard uncommitted changes. Discard all of the uncommitted changes in theUncommitted changesdialog box. You cannot undo the discard of uncommitted changes. The changes saved to the local project will be removed.
- (optional) If you discard uncommitted changes, the messageThe uncommitted changes will be removed from the local projectappears. SelectDiscard.
Provide Feedback