LinuxCommandLibrary

dolt-status

Show Dolt database status

TLDR

Display the status

$ dolt status
copy

SYNOPSIS

dolt status []

PARAMETERS

--all
    Show all tables including those that are unchanged. Defaults to only showing tables with changes.

--verbose
    Show the diff of the data changes.

--system-tables
    Display system tables as well as normal tables.

DESCRIPTION

The `dolt status` command displays the state of the working directory and the staging area. It lets you see which changes have been staged, which haven't, and which files aren't being tracked by Dolt. It shows the differences between the current working set, the staged changes, and the checked-in database state. Specifically, `dolt status` shows changes relative to the last commit (the HEAD). It reports whether the working tree is clean (no modifications) or dirty (modified) and also indicates any untracked files or tables. Unlike `git status`, `dolt status` will show changes to your data in addition to changes to your schema.

OUTPUT INTERPRETATION

The output of `dolt status` can be divided into several sections: Uncommitted changes (staged and unstaged), untracked tables, and tables with conflicts. Each section lists the tables (and optionally their data differences when using `--verbose`) affected.

SEE ALSO

dolt add(1), dolt commit(1), dolt diff(1)

Copied to clipboard