Skip to content

gh pr create --fill adds formatting (bold text) #12569

@jtreitz

Description

@jtreitz

Assume this is my commit history:

commit 323eb273b454cfe304a08de90517ac2f02dd63ed
Date:   Wed Jan 28 08:01:14 2026 +0100

    Another title
    Another Body

commit b77009a857a9b7d28c8c7bfa115b89ce22644391
Date:   Wed Jan 28 08:01:04 2026 +0100

    Title
    Body
    More

If I use the --fill flag I'd expect it to fill the body with the verbatime commit messages. Instead it adds undesired bold formatting and a list:

- **Title Body More**
- **Another title Another Body**

Also the PR title is just the branch name.

If I use the --web --fill-verbose flag I'd expect it to fill the body of the PR web form with:

Title

Body
More

Another title

Another Body

Instead it adds no body at all.

Am I using this wrong? Is there some sort of config?

I'm on gh version 2.86.0 (2026-01-21)

Metadata

Metadata

Assignees

No one assigned

    Labels

    feedbackgh-prrelating to the gh pr commandneeds-triageneeds to be reviewedneeds-user-inputMore info needed from user/contributor

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions