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 |
|---|---|
| Checkout | If 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 checkout | Lock 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. Thecm ci--all- Run the command to check out a file before you edit it.
cm co
>cm co q3radiant\Bmp.cppThe selected items are about to be checked out. Please wait ...Item q3radiant\Bmp.cpp was correctly checked out
- Run the command to check in your files.
cm ci
>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:'/')