Shelve changes
Shelve changes to files in Unity Version Control.
Read time 1 minuteLast updated 21 days ago
You can save changes in your source control and share them with teammates without checking them into a branch. For example, to avoid errors while working on experimental code changes, you might not want to check these changes into a branch.
Shelve changes in the GUI
In the Pending Changes tab of the Unity DevOps Version Control, you can shelve any of your pending changes.- Select Shelve. If you haven't added a comment, a dialogue displays to prompt you.
- Decide whether to keep the changes in your pending changes list or not:
- Undo changes to remove the changes from pending changes.
- Keep changes to keep the changes in pending changes.
Shelve changes in the CLI
Run thecm shelvesetTo apply the shelved changes to your workspace, run the>cm shelveset src\experimental_changesUploading file dataConfirming checkin operationModified src\experimental_changesCreated shelve sh:25@myrepo@localhost:8080 (mount:'/')
apply>cm shelveset apply sh:25The item /newtonraphson.cs#sh:25 has been added on source and will be added as result of the mergeMerging \src\experimental_changes\newtonraphson.csThe revision \src\experimental_changes\newtonraphson.cs@sh:25 has been loaded