Action Procedure
Revert local changes. To release locks and revert to the version in the last
sandbox update (that is, the last version you synchronized
or retrieved from the repository), in the Files view, right-
click the files to revert and select Source Control >
Discard Local Changes and Release Locks.
To discard local changes when using Git, right-click a file
and select Source Control > Revert Local Changes. To
remove all local changes, click Branches in the Git pane
and click Revert to Head.
Revert a file to a specified
revision
To revert a file to a specified revision, right-click a file and
select Source Control > Revert using SVN or Source
Control > Revert using Git.
In the Revert Files dialog box, choose a revision to revert
to. Select a revision to view information about the change,
such as the author, date, log message. Click Revert.
If you revert a file to an earlier revision and then make
changes, you cannot commit the file until you resolve the
conflict with the repository history.
Revert a project to a
specified revision.
To revert a project to a specified revision, on the Project
tab, in the Source Control section, click Revert Project.
In the Revert Files dialog box, choose a revision to revert
to.
Each revision in the list is a change set of modified files.
Select a revision to view information about the change
such as the author, date, and the log message.
Once you have chosen a revision and are satisfied that the
information is correct, click Revert.
Work with Derived Files in Projects
In general, it is a best practice to omit derived and temporary files from your project or
exclude them from source control. Use Check Project in the Precommit Actions pane
or the Project tab to check for derived or temporary files. If you add the resources
Use Source Control with Projects