GitHub CLI 2.88.0
Highlights in this release
New 4
Create and view collaboration items with clearer people and choices
You can now create a pull request and ask reviewers based on their login, or search for them in the interactive picker. Pull request and issue views show friendlier display names for every participant, and closing a duplicate issue can point back to the original with --duplicate-of. It is like labelling office tasks with names and a link to the original sheet, so the next person does not have to guess who is who or which copy matters.
Original changelog
gh pr create: login-based reviewer requests and search-based interactive selection by @BagToad in https://github.com/cli/cli/pull/12627
gh pr view and gh issue view: show friendly display names for all actors by @BagToad in https://github.com/cli/cli/pull/12854
gh issue close: add --duplicate-of flag and duplicate reason by @tksohishi in https://github.com/cli/cli/pull/12811
Filter diffs, read data, and launch Copilot more smoothly
You can now hide files you do not want to inspect from a pull request diff with --exclude. JSON output for pull request files adds changeType, and listing or viewing agent tasks can also return JSON for other tools to read. When gh launches Copilot CLI, it sets the COPILOT_GH environment variable so Copilot knows who started it. It is like sorting a stack of proofs: remove the pages you do not need, then add labels for the next helper.
Original changelog
gh pr diff: add --exclude flag to filter files from diff output by @yuvrajangadsingh in https://github.com/cli/cli/pull/12655
gh pr view/list: add changeType field to files JSON output by @yuvrajangadsingh in https://github.com/cli/cli/pull/12657
gh agent-task list: add --json support by @maxbeizer in https://github.com/cli/cli/pull/12806
gh agent-task view: add --json support by @maxbeizer in https://github.com/cli/cli/pull/12807
gh copilot: set COPILOT_GH env var when launching Copilot CLI by @devm33 in https://github.com/cli/cli/pull/12821
Get more control over cloning, merge messages, and code history
When you use gh repo clone to copy a remote project to your computer, --no-upstream lets you avoid setting an upstream. Editing a repository can now set the commit message for a squash merge, which combines several changes into one. gh browse also adds --blame to open a line-by-line history showing who changed a line and when. It is like moving house with the option not to leave a forwarding address, labelling one whole box, and checking which roommate packed an item.
Original changelog
gh repo clone: add --no-upstream flag by @4RH1T3CT0R7 in https://github.com/cli/cli/pull/12686
gh repo edit: add --squash-merge-commit-message flag by @yuvrajangadsingh in https://github.com/cli/cli/pull/12846
gh browse: add --blame flag by @masonmcelvain in https://github.com/cli/cli/pull/11486
Keep issue lists, project settings, and maintenance work steadier
You get clearer guardrails around issue lists and project setup. Pull-request-only search qualifiers are rejected in gh issue list, project issue creation explains scope errors more clearly, and repeatedly starting an issue development branch with the same name no longer corrupts .git/config. The release also simplifies repeated scope handling and feature checks, precompiles Content-Type matching, and updates Go requirements, install prefixes, per-platform licenses, a monthly promotion workflow, and dependencies. It is like having the office filter out the wrong forms first, then arranging keys and repair manuals so routine work is less likely to jam.
Original changelog
Clarify scope error while creating issues for projects by @elijahthis in https://github.com/cli/cli/pull/12596
Reject pull request-only search qualifiers in gh issue list by @LouisLau-art in https://github.com/cli/cli/pull/12623
Prevent .git/config corruption on repeated issue develop --name invocation by @gunadhya in https://github.com/cli/cli/pull/12651
Use pre-compiled regexp for matching Content-Type by @itchyny in https://github.com/cli/cli/pull/12781
Isolate generated licenses per platform (os/arch) by @babakks in https://github.com/cli/cli/pull/12774
Add examples to gh issue close help text by @BagToad in https://github.com/cli/cli/pull/12830
Customizable install prefix in Makefile by @scarf005 in https://github.com/cli/cli/pull/11714
Deduplicate scope error handling between api/client.go and project queries by @yuvrajangadsingh in https://github.com/cli/cli/pull/12845
Remove unnecessary StateReason and StateReasonDuplicate feature detection by @BagToad in https://github.com/cli/cli/pull/12838
Update Go version requirement to 1.26+ by @BagToad in https://github.com/cli/cli/pull/12864
Add monthly pitch surfacing workflow by @tidy-dev in https://github.com/cli/cli/pull/12894
Bump Go from 1.25.7 to 1.26.1 by @BagToad in https://github.com/cli/cli/pull/12860
chore(deps): bump golang.org/x/sync from 0.19.0 to 0.20.0 by @dependabot[bot] in https://github.com/cli/cli/pull/12886
chore(deps): bump google.golang.org/grpc from 1.79.1 to 1.79.2 by @dependabot[bot] in https://github.com/cli/cli/pull/12851
chore(deps): bump github.com/docker/cli from 29.0.3+incompatible to 29.2.0+incompatible by @dependabot[bot] in https://github.com/cli/cli/pull/12842
chore(deps): bump google.golang.org/grpc from 1.78.0 to 1.79.1 by @dependabot[bot] in https://github.com/cli/cli/pull/12759
chore(deps): bump goreleaser/goreleaser-action from 6.4.0 to 7.0.0 by @dependabot[bot] in https://github.com/cli/cli/pull/12760
chore(deps): bump actions/upload-artifact from 6 to 7 by @dependabot[bot] in https://github.com/cli/cli/pull/12797
chore(deps): bump actions/download-artifact from 7 to 8 by @dependabot[bot] in https://github.com/cli/cli/pull/12796
chore(deps): bump actions/attest-build-provenance from 3.2.0 to 4.1.0 by @dependabot[bot] in https://github.com/cli/cli/pull/12795
chore(deps): bump github.com/gabriel-vasile/mimetype from 1.4.11 to 1.4.13 by @dependabot[bot] in https://github.com/cli/cli/pull/12615
@srt32 made their first contribution in https://github.com/cli/cli/pull/12783
@itchyny made their first contribution in https://github.com/cli/cli/pull/12781
@VishnuVV27 made their first contribution in https://github.com/cli/cli/pull/12652
@elijahthis made their first contribution in https://github.com/cli/cli/pull/12596
@ManManavadaria made their first contribution in https://github.com/cli/cli/pull/12787
@maxbeizer made their first contribution in https://github.com/cli/cli/pull/12806
@LouisLau-art made their first contribution in https://github.com/cli/cli/pull/12623
@4RH1T3CT0R7 made their first contribution in https://github.com/cli/cli/pull/12686
@yuvrajangadsingh made their first contribution in https://github.com/cli/cli/pull/12657
@masonmcelvain made their first contribution in https://github.com/cli/cli/pull/11486
@scarf005 made their first contribution in https://github.com/cli/cli/pull/11714
@tksohishi made their first contribution in https://github.com/cli/cli/pull/12811
@tidy-dev made their first contribution in https://github.com/cli/cli/pull/12894
Fixed 1
Hit fewer errors and garbled results when editing or exporting data
You should hit fewer rough edges when editing and exporting data. gh project item-edit no longer errors for a Draft Issue with only a title or body; a failed extension install now shows owner/repo instead of raw internal data; and assignee databaseId values in --json output no longer stay at zero. Color codes in JSON and diffs, port-forwarding number conversion, --remote with a repository argument, and an unnecessary API call for issue comments were also fixed. It is like repairing a form so its fields, labels, and delivery tubes all return to the right place.
Original changelog
Fix gh project item-edit error when editing Draft Issue with only one (--title/--body) flag by @ManManavadaria in https://github.com/cli/cli/pull/12787
Fix extension install error message showing raw struct instead of owner/repo by @Copilot in https://github.com/cli/cli/pull/12836
Fix incorrect integer conversion from int to uint16 in port forwarder by @BagToad in https://github.com/cli/cli/pull/12831
Fix invalid ANSI SGR escape code in JSON and diff colorization by @BagToad in https://github.com/cli/cli/pull/12720
Fix assignees databaseId always being 0 in --json output by @srt32 in https://github.com/cli/cli/pull/12783
Fix error when --remote flag used with repo argument by @majiayu000 in https://github.com/cli/cli/pull/12375
Fix redundant API call in gh issue view --comments by @VishnuVV27 in https://github.com/cli/cli/pull/12652