Reverting a Checkout of Source Control Files—Perforce Helix Core

If you have files checked out from source control but do not want them checked out anymore, you can use the "Revert" option instead of submitting the files. While submitting the file would save your changes to source control, reverting a checkout returns the files to their previously submitted state and does not submit any of your changes to source control.

How to Revert a Source Control File

  1. In one of the window panes (e.g., Content Explorer, Source Control Explorer, File List, Project Organizer, Pending Changes window pane), select the relevant file(s).
  2. Do one of the following, depending on the part of the user interface you are using:
    • Ribbon Select Source Control > Revert (for selected files) or Revert All (for all files in the project).

    • Right-Click If you have the Content Explorer, Project Organizer or File List open, right-click the files you want to revert and select Source Control > Revert (for selected files) or Source Control > Project > Revert All (for all files).

    The Undo Check Out dialog opens. The selected files are listed.

  3. (Optional) If you want to see all files with pending changes (rather than only those you selected), click .
  4. Make sure to click the check box next to each file you want to check in so that it contains a check mark.
  5. Click Undo Check Out.