dolt-commit
record staged database table changes
TLDR
SYNOPSIS
dolt commit [options]
DESCRIPTION
dolt commit records changes to the database repository by creating a new commit with staged table modifications. It captures a snapshot of the current state of all staged tables, preserving the data and schema at that moment in the repository's history.Each commit requires a message describing the changes, creating an audit trail of database evolution over time. The command mirrors Git's commit workflow but operates on database tables instead of files, enabling version control for data.Commits can be amended, authored by different users, and can include all modified tables automatically with the -a flag. Use -A (uppercase) to also include new untracked tables. Empty commits are rejected by default to prevent meaningless history entries.
PARAMETERS
-m, --message string
Commit message.-a, --all
Stage all modified tables and commit.--amend
Amend the previous commit instead of creating a new one.--author string
Override the commit author (format: "Name <email>").--date string
Override the commit date.--allow-empty
Allow creating a commit with no changes.--force
Force the commit, ignoring any warnings.-A, --ALL
Stage all tables (including new and untracked) and commit.
SEE ALSO
dolt-add(1), dolt-status(1), dolt-branch(1), dolt-merge(1)
