Documentation

Support

Unity Version Control

Check out a file

Check out files to edit in Unity Version Control.
Read time 1 minuteLast updated 21 days ago

Check out a file in the GUI

To check out a file on the Workspace Explorer tab, right-click the file and select one of the following types of checkout:

Option

Description

CheckoutIf the file path matches the configured lock rules, the checkout operation locks the file. If the file path doesn’t have the lock rules, then the checkout is a local operation that doesn’t lock the file.
Lock and checkoutLock and checkout adds the file path to your configured lock rules so that the file locks regardless of the original lock rules.

Check out a file in the CLI

Read more about checkouts and why you might want to use them. The
cm ci
command checks in any checked out files in your workspace. To check in all changes, add the
--all
modifier.
  1. Run the
    cm co
    command to check out a file before you edit it.
>cm co q3radiant\Bmp.cppThe selected items are about to be checked out. Please wait ...Item q3radiant\Bmp.cpp was correctly checked out
  1. Run the
    cm ci
    command to check in your files.
>cm ci -c "changed bmp and moved aselib"The selected items are about to be checked in. Please wait ...Assembling checkin dataValidating checkin dataUploading file dataUploaded 0 bytes of 9.26 KB (0%)Confirming checkin operationModified c:\Users\pablo\wkspaces\quake_path\q3radiant\Bmp.cppCreated changeset cs:577@br:/main/fix-1342@quake@localhost:6060 (mount:'/')

Additional resources