Restore

Use the
Restore
option to return a project to a committed state.
TIP: The
Restore
option is enabled for local and remote projects. For remote projects,
Restore
only removes local commits.
To use the Restore option:
  1. Select
    File > Source control > Change history
    .
  2. In the
    Change history
    tab, select the commit you want to restore.
  3. Select
    Restore
    on the top right of the
    Change history
    tab.
  4. In the
    Restore
    dialog box, select
    Restore
    to return to selected project state or
    Cancel
    to stop the restore action. Selecting
    Restore
    causes all local commits after the restored commit to be permanently removed.
IMPORTANT:
  • A restore will trigger a pull when remote changes are available. If conflicts are detected, the
    Manage conflicts
    dialog box opens. Resolve and accept all conflicts to finish the merge and complete the restore. Selecting
    Cancel
    while the
    Manage conflicts
    dialog box is open also stops the restore action.
  • When restoring more than one local commit, all commits are grouped together into one merge.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.