Skip to main content
The <revert_ref_id> is the id of the commit you want to revert the changes to. This will create a new commit with the reverted changes. [--conflict_resolution <strategy>] sets how conflicts are handled:
  • manual — resolve conflicts manually (default)
  • keep-current — keep the current workspace state
  • accept-incoming — accept the reverted state
  • merge-tool — resolve conflicts with the merge tools you set up with dv merge-tool. See External Merge Tools.
  • ai — resolve text conflicts with AI. Completes the merge only if AI resolves every conflict; otherwise the merge stays open for the app. Available on Professional plans and higher. See Resolve Conflicts with AI.
[--nowait] returns immediately without waiting for the reverted files to finish syncing to your local workspace. By default, the command waits until the sync is done.