File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ # dolt branch
2
+
3
+ > Manage Dolt branches.
4
+ > More information: < https://github.com/dolthub/dolt > .
5
+
6
+ - List local branches (current branch is highlighted by ` * ` ):
7
+
8
+ ` dolt branch `
9
+
10
+ - List all local and remote branches:
11
+
12
+ ` dolt branch --all `
13
+
14
+ - Create a new branch based on the current branch:
15
+
16
+ ` dolt branch {{branch_name}} `
17
+
18
+ - Create a new branch with the specified commit as the latest:
19
+
20
+ ` dolt branch {{branch_name}} {{commit}} `
21
+
22
+ - Rename a branch:
23
+
24
+ ` dolt branch --move {{branch_name1}} {{branch_name2}} `
25
+
26
+ - Duplicate a branch:
27
+
28
+ ` dolt branch --copy {{branch_name1}} {{branch_name2}} `
29
+
30
+ - Delete a branch:
31
+
32
+ ` dolt branch --delete {{branch_name}} `
33
+
34
+ - Display the name of the current branch:
35
+
36
+ ` dolt branch --show-current `
You can’t perform that action at this time.
0 commit comments