dolt-add
stage table changes for commit
TLDR
SYNOPSIS
dolt add [table...]
DESCRIPTION
dolt add stages table changes for the next commit. Where `git add` operates on files, `dolt add` stages database tables whose rows or schema have been modified, added, or dropped.The command marks tables with pending changes to be included in the next commit. Staging allows selective committing across multiple tables, the same index concept as Git's, applied to schema and data modifications instead of file contents.Naming tables explicitly stages only those; `.` or -A stages every modified table in the working set.
PARAMETERS
-A, --all
Stage any and all changes (adds, deletes, and modifications), except for ignored tables.-f, --force
Allow adding otherwise ignored tables.
INSTALL
CAVEATS
Tables matched by the `doltignore` system table are skipped even by **-A**; use **--force** to stage one anyway. Staging is only meaningful for the CLI workflow: writes made through `dolt sql-server` land directly in the working set, and depending on the session's `@@dolttransaction_commit` setting they may be committed without ever passing through the staging area.
SEE ALSO
dolt(1), dolt-commit(1), dolt-status(1), git-add(1)