Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.diversion.dev/llms.txt

Use this file to discover all available pages before exploring further.

In Diversion, you call the commit command to add the changes in your active workspace to the active branch.
dv commit [files...] [-a] -m <commit_message> [--no-verify]
You can specify which files to commit individually or use the [-a] parameter to commit all the changes. A commit message is required preceded by the -m flag. The commit message needs to be “surrounded by quotes.” [--no-verify] skips pre-commit hooks. An example on how to add all the files to a commit would be:
dv commit -a -m "Implemented running animations."
Once committed, the changes will be replicated across all users on the same branch. Use the --no-verify flag to skip pre-commit hooks for a single commit:
dv commit -a -m "quick fix" --no-verify