Undoing check out

If you modify a file but decide you do not want to save changes, you can undo the check out. This discards changes, checks in the file, and does not create an entry in the revision history.

1. Select the files or repository and choose Activities > Undo Check Out.

The Undo Check Out Files dialog box opens.

2. Select a File overwrite option to specify what happens if a writable file is found in the working directory. Depending on the option, changes are lost when you undo the check out. This action cannot be undone.

  • Get original version replaces the local file with the original server version.
  • Get latest version replaces the local file with the latest server version.
  • Leave local file leaves the local file as is.

3. Select Make files writable to leave a read-write copy of the file in the working directory.

4. Select Recursive to automatically undo the check out for the selected repository and all child repositories. This option is only available for repositories.

5. Click OK.

The file is no longer checked out.

If files are in a pending changelist, you are prompted to remove them from the changelist before undoing the check out. Click Remove Files and Undo Check Out to remove the files from the changelist before undoing the check out. Click Skip Files to keep the files checked out and in the changelist.