Skip to content

Commit 5ba2b00

Browse files
skarimCopilot
andcommitted
apply suggested docs updates from code review
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent bc0fc50 commit 5ba2b00

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

docs/src/content/docs/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ gh stack link change1 change2 change3
249249

250250
This doesn't create any local tracking and only hits the APIs to create Stacked PRs.
251251

252-
If the provided branches already have open PRs, `link` will use them. If not, it creates draft PRs with the correct base branch chaining.
252+
If the provided branches already have open PRs, `link` will use them. If not, it creates draft PRs by default with the correct base branch chaining.
253253

254254
To add more to the stack, run `link` again, but be sure to include the full list of PRs/branches in the stack:
255255

docs/src/content/docs/reference/cli.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,12 +237,12 @@ gh stack submit [flags]
237237

238238
Creates a Stacked PR for every branch in the stack, pushing branches to the remote. After creating PRs, `submit` automatically creates a **Stack** on GitHub to link the PRs together. If the stack already exists on GitHub (e.g., from a previous submit), new PRs are added to the existing stack.
239239

240-
When creating new PRs, you will be prompted to enter a title for each one. Press Enter to accept the default (branch name), or use `--auto` to skip prompting entirely.
240+
When creating new PRs, you will be prompted to enter a title for each one. Press Enter to accept the default (branch name), or use `--auto` to skip prompting entirely. New PRs are created as **drafts by default**; use `--open` to create new PRs as ready for review and to mark existing PRs as ready for review.
241241

242242
| Flag | Description |
243243
|------|-------------|
244244
| `--auto` | Use auto-generated PR titles without prompting |
245-
| `--open` | Mark new and existing PRs as ready for review |
245+
| `--open` | Create new PRs as ready for review instead of drafts, and mark existing PRs as ready for review |
246246
| `--remote <name>` | Remote to push to (defaults to auto-detected remote) |
247247

248248
**Examples:**

0 commit comments

Comments
 (0)