dolt checkout

Checkout the work tree or tables to a branch or commit. More information: https://docs.dolthub.com/cli-reference/cli#dolt-checkout.

dolt checkout {{branch_name}}

dolt checkout {{table}}

dolt checkout -b {{branch_name}}

dolt checkout -b {{branch_name}} {{commit}}