Check in changes
Merge changes in Unity Version Control projects.
Read time 2 minutesLast updated 7 days ago
You can merge changes that you make into a destination branch. Whether you can merge depends on the merge rules in place. Merge conflicts can prevent you from merging changes. You can resolve merge conflicts in the Unity Version Control desktop client.
Check in changes in the Unity Dashboard
You can manually merge branches and changesets in the DevOps Unity Dashboard:- Locate the changes that you want to merge.
- To merge a reviewed changeset or branch, open the code review and select Merge.
- To manually merge a branch, open the Branches tab, right-click the branch and select Merge branch into….
- To manually merge a changeset, open the Changesets tab, right-click the changeset, and select Merge changeset into….
- On the Merge page, you can edit the default values in the Destination branch and Source dropdowns if you want.
- If there are no merge conflicts, select Merge.
- In the dialog, add a comment.
- Select Check-in merge.
Check in changes in the GUI
You can select changed files in the Pending Changes tab and check them in as a changeset.- Select the files you want to check in.
- Enter a comment for the changeset.
- Select Check in.
Check in changes in the CLI
If you’ve made any changes to a file in your workspace, you can runcm statusCheck in all changes
To check in all of your pending changes, runci –allThe>cm ci --all The selected items are about to be checked in. Please wait ... Assembling checkin data Validating checkin data Uploading file data Uploaded 0 bytes of 2.77 KB (0%) Confirming checkin operation Modified c:\Users\pablo\wkspaces\quake_path\code Modified c:\Users\pablo\wkspaces\quake_path\code\lib Modified and moved from c:\Users\pablo\wkspaces\quake_path\code\FileSystem-renamed.cs to c:\Users\pablo\wkspaces\quake_path\code\lib\FileSystem.cs Created changeset cs:575@br:/main/fix-1342@quake@localhost:6060 (mount:'/')
--allci –all –privateCheck in changes in a given path
To check in changes on a specific path, specify the path in yourcm cicm ci task001\alpha\* -c “alpha files checked in” –all