Documentation

Support

Unity Version Control

Check out and lock files

Perform exclusive checkout operations to prevent simultaneous edits.
Read time 1 minuteLast updated 5 months ago

Check out a file to make sure that other users don’t simultaneously edit the same files as you. If you have lock rules set up, when you check out a file, you lock the file so that no one else can edit it until you check the file back in.
Note
A checkout only locks files if your server has lock rules set up.

Checkout

To check out a file, right-click the file and select Checkout.
Note
To check out or lock a file with the command line, run the
cm partial checkout
command.

Force a lock and checkout

If you don’t have lock rules set up, or want to ensure that a file is locked, you can select Lock and checkout. If the server for the repository doesn’t have lock rules set up, a dialog displays for you to add your own lock rule.

Check out files recursively

If you need to lock all of the files in a folder, right-click the file and select Checkout recursively.
Note
To perform a recursive checkout in the command line, run the command:
cm partial checkout -R
.