WebStorm 2016.3 Help

Reverting to a Previous Version

You can restore any previous version of a file, using the History view of a file. So doing, the current
content
of the file is replaced with the copy of the older content. After such operation, you have to commit the
file to
bring the repository up to date.

The exact name of the command (revert or roll back) depends on the
specific VCS.