Options (4)
-A, --allbooleanList all local and remote branches
Example:
dolt branch {{[-A|--all]}}-m, --movebooleanRename a branch
Example:
dolt branch {{[-m|--move]}} {{branch_name1}} {{branch_name2}}-c, --copybooleanDuplicate a branch
Example:
dolt branch {{[-c|--copy]}} {{branch_name1}} {{branch_name2}}-d, --deletebooleanDelete a branch
Example:
dolt branch {{[-d|--delete]}} {{branch_name}}Examples (8)
List local branches (current branch is highlighted by `*`)
List all local and remote branches
dolt branch [-A|--all]Create a new branch based on the current branch
dolt branch branch_nameCreate a new branch with the specified commit as the latest
dolt branch branch_name commitRename a branch
dolt branch [-m|--move] branch_name1 branch_name2Duplicate a branch
dolt branch [-c|--copy] branch_name1 branch_name2Delete a branch
dolt branch [-d|--delete] branch_nameDisplay the name of the current branch
dolt branch --show-currentmade by @shridhargupta | data from tldr-pages