LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

dolt-add

stage table changes for commit

TLDR

Stage all changes
$ dolt add .
copy
Stage a specific table
$ dolt add [table_name]
copy
Stage multiple tables
$ dolt add [table1] [table2]
copy
Stage everything, equivalent to `.`
$ dolt add -A
copy
Stage a table that is ignored by `dolt_ignore`
$ dolt add --force [table_name]
copy

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

sudo pacman -S dolt
copy
brew install dolt
copy
nix profile install nixpkgs#dolt
copy

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

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid