dolt checkout
Check out the work tree or tables to a branch or commit. More information: https://docs.dolthub.com/cli-reference/cli#dolt-checkout.
- Switch to a branch:
dolt checkout
- Revert unstaged changes to a table:
dolt checkout
- Create new branch and switch to it:
dolt checkout -b
- Create new branch based on a specified commit and switch to it:
dolt checkout -b
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
