Examples (4)
Switch to a branch
dolt checkout branch_nameRevert unstaged changes to a table
dolt checkout tableCreate new branch and switch to it
dolt checkout -b branch_nameCreate new branch based on a specified commit and switch to it
dolt checkout -b branch_name commitmade by @shridhargupta | data from tldr-pages