Skip to main content
Changed your mind? Are you unhappy with your most recent work? Let’s undo changes you haven’t committed yet. In Diversion, this is called reset, and will return the files to state they were in the last commit.
1

Go to your repo

Open the workspace of the repo where your changes are. In the Files view, you’ll see a list of files with changes.
2

Select changes to undo

Use the checkboxes next to the files, or can select all with the checkbox at the top. Once you have selected the files, click Reset at the top right of the file list.
3

Undo

You’ll see a confirmation dialog. Keep in mind that by default, this only undoes changes to existing files and does not delete new files. If you want to delete new files too, tick the “Also permanently delete … new items that were never committed” checkbox. New files have no saved version, so they cannot be recovered after this. Click Discard N changes to confirm.