fj pr create --fill / --fill-first: derive title and body from commits #165
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
fj pr createrequires--titleplus a body, retyping what the commits already contain.gh pr create --fill/--fill-firstautomate it.Acceptance criteria
--fill: title from the branch's commit subjects, body from their messages (single commit -> its subject + body; multiple -> a list of subjects).--fill-first: title and body from the first commit only.git log <base>..<head>; no new API call.--title/--body/-Foverride the filled values.Value
Removes the most common create friction; one-command PRs in scripts and interactive use.
Priority
p1 (high value, low risk, client-side only).
Dependencies / sequencing
None. Shares the create body-resolution path with #172; build this first.
Overlap
Shares body-population plumbing with #172 (
create --template). Distinct features, not a merge; sequence #165 then #172.