![Forrest logo](/images/logo.png)
dolt-branch:tldr:fb45d
dolt-branch: List local branches (current branch is highlighted by `*`).
$ dolt branch
try on your machine
The command "dolt branch" is used in Dolt, a version-controlled database, to list all the existing branches in the repository. When you run the command "dolt branch", it will display a list of all branches alongside an asterisk (*) indicating the currently checked out branch. For example, if you have three branches named "main", "feature-branch", and "bugfix-branch", and you are currently on "feature-branch", the output of "dolt branch" would look like: ```
- feature-branch
bugfix-branch
main
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.