Skip to content

Commit e9e260d

Browse files
committed
but docs: Create flag
Update the commit command docs in order to add the create flag
1 parent 9be79fe commit e9e260d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

cli-docs/but-commit.mdx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,15 @@ Branch CLI ID or name to derive the stack to commit to.
2525
- **Type:** String
2626
- **Required:** Optional
2727

28+
### `-c, --create`
29+
30+
Whether to create a new branch for this commit.
31+
If the branch name given matches an existing branch, that branch will be used instead.
32+
If no branch name is given, a new branch with a generated name will be created.
33+
34+
- **Type:** Flag (boolean)
35+
- **Default:** `false`
36+
2837
### `-o, --only`
2938

3039
Only commit assigned files, not unassigned files.

0 commit comments

Comments
 (0)