Create new branch based on a specified commit and switch to it

dolt checkout

  • Checkout the work tree or tables to a specific branch or commit.
    More information: <https://github.com/dolthub/dolt>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

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

click the source code to copy