APPLYLOCAL
Apply local changes with the Unity Version Control CLI.
Read time 1 minuteLast updated 21 days ago
Description
Checks for local changes (locally moved, locally deleted, and locally changed) and applies them, so that UVCS starts tracking those changes.Usage
cm applylocal | al [--dependencies] [<item_path>[ ...]] [--machinereadable [--startlineseparator=<sep>] [--endlineseparator=<sep>] [--fieldseparator=<sep>]]
Options
Option / Argument | Description |
|---|---|
| Adds local change dependencies into the items to apply. |
| Items to be applied. Use a whitespace to separate paths. Use double quotes ( |
| Outputs the result in an easy-to-parse format. |
| Used with the |
| Used with the |
| Used with the |
Help
Remarks
- If and
--dependenciesare not specified, the operation involves all the local changes in the workspace.<item_path> - It is always applied recursively from the given path.
Examples
cm applylocal foo.c bar.c
(Applies all local changes in the current directory.)cm applylocal .
(Applies all local changes in the workspace.)cm applylocal
(Applies all local changes in the workspace, and prints the result in a simplified, easier-to-parse format.)cm applylocal --machinereadable
cm applylocal --machinereadable --startlineseparator=">"
(Applies all local changes in the workspace, and prints the result in a simplified, easier-to-parse format, starting and ending the lines and separating the fields with the specified strings.)--endlineseparator="<" --fieldseparator=","