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.
To revert a file to its previous version
- Select the desired file in the Project tool window, and open its history.
- In the History tab, select the desired revision.
- On the context menu of the selected entry, choose Get, or click the button on the toolbar.
Last modified: 6 March 2018