dolt commit
Commit staged changes to tables. More information: https://docs.dolthub.com/interfaces/cli#dolt-commit.
-
Commit all staged changes, opening the editor specified by
$EDITORto enter the commit message:
dolt commit -
Commit all staged changes with the specified message:
dolt commit --message "{{commit_message}}" -
Stage all unstaged changes to tables before committing:
dolt commit --all -
Use the specified ISO 8601 commit date (defaults to current date and time):
dolt commit --date "{{2021-12-31T00:00:00}}" -
Use the specified author for the commit:
dolt commit --author "{{author_name}} <{{author_email}}>" -
Allow creating an empty commit, with no changes:
dolt commit --allow-empty -
Ignore foreign key warnings:
dolt commit --force
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.