WebStorm 9.0.2 Web Help

Reverting Local Changes

When you modify, add, or delete files, which are under version control, you are always able to revert such changes, rolling back the file's contents to what it was before the last successful update, check out, or commit.

The exact name of the command (revert or roll back), and the type of the action performed when you revert changes, depend on the file status and VCS used for a particular directory.

To revert local changes, do one of the following

  • In the Local tab of the Changes tool window, select one or more items in the relevant changelist, then choose Revert on the context menu of the selection or click the Revert button rollback.png on the toolbar of the Changes tool window.
  • Select the file to be reverted and choose the relevant VCS-specific revert (roll back) command on the VCS | <VCS> menu.

See Also

Last modified: 11 December 2014
comments powered by Disqus