# Comparing resources with the local history

To compare an unmanaged Workbench resource with a state in the local history:

1. In one of the navigation views, select the resource that you want to compare with a local history state.
2. From the resource's pop-up menu, select Compare With > Local History. The Compare with Local History page opens.
3. Select a state in the Local History list. The Text Compare editor opens.
4. Click the Select Next Change and Select Previous Change buttons to browse the changes made between the state in the local history and the Workbench resource.
5. Click OK when you are finished.

To compare a Workbench resource that is managed by VCS with a state in the local history:

1. In one of the navigation views, select the resource that you want to compare with a local history state.
2. From the resource's pop-up menu, select Compare With > History.... The History View opens.
3. Put the History View into Local Revisions mode by clicking on the Local Revisions toolbar button in the History View. This filters out all revisions except for Local History revisions.
4. Select a revision from the History View. The Text Compare editor opens.
5. Click the Select Next Change and Select Previous Change buttons to browse the changes made between the state in the local history and the Workbench resource.
6. Click OK when you are finished.

### Related concepts

Local history

### Related tasks

Replacing a resource with local history
Restoring deleted resources from local history
Setting local history preferences
Comparing resources