You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crates/but/skill/references/reference.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -330,13 +330,18 @@ Create and manage pull requests.
330
330
331
331
```bash
332
332
but pr new <branch-id># Push branch and create PR (recommended)
333
-
but pr new <branch-id> -m "Title" -m "Body"# With title and description
333
+
but pr new <branch-id> -F pr_message.txt # Use file: first line is title, rest is description
334
+
but pr new <branch-id> -m "Title..."# Inline message: first line is title, rest is description
334
335
but pr # Create PR (prompts for branch)
335
336
but pr template # Configure PR description template
336
337
```
337
338
338
339
**Key behavior:**`but pr new` automatically pushes the branch to remote before creating the PR. No need to run `but push` first.
339
340
341
+
In non-interactive environments, use `--message (-m)`, `--file (-F)`, or `--default (-t)` to avoid editor prompts.
342
+
343
+
**Note:** For stacked branches, the custom message (`-m` or `-F`) only applies to the selected branch. Dependent branches in the stack will use default messages (commit title/description).
344
+
340
345
Requires forge integration to be configured via `but config forge auth`.
0 commit comments