The revert-to-commit command reverts your workspace to the exact state of a specified commit, discarding all changes made after that commit.
dv revert-to-commit <ref_id>
The <ref_id> parameter is the ID of the commit to which the workspace should be reverted.
This command is useful when you want to undo multiple commits and return to a specific point in history.
This operation will discard all changes in your workspace that came after the specified commit. Make sure to commit or shelve any work you want to keep before running this command.
An example of reverting to a specific commit:
dv revert-to-commit abc123def456
After running this command, your workspace will match the state of commit abc123def456.