dolt commit
Commit staged changes to tables. More information: https://docs.dolthub.com/cli-reference/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 ""
- Stage all unstaged changes to tables before committing:
dolt commit
- Use the specified ISO 8601 commit date (defaults to current date and time):
dolt commit --date ""
- Use the specified author for the commit:
dolt commit --author " <>"
- Allow creating an empty commit, with no changes:
dolt commit --allow-empty
- Ignore foreign key warnings:
dolt commit
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
