Release notes

FEATURE

Install and launch Copilot CLI directly through gh

You can now get to Copilot CLI from the same terminal workflow you use for GitHub. Run gh copilot and gh will offer to install Copilot CLI if it is missing, then launch it. Add arguments or flags after the command and gh passes them through to Copilot CLI unchanged. Copilot has not gained a new capability here; the update simply joins installation and launch into one route instead of making you find a separate installer and switch commands, like buying a ticket and boarding at the same station counter.

FEATURE

Clear every cache for a ref and catch duplicate PR targets early

You can now clear all cached results attached to one ref—a Git name that points to a branch or version—with a single gh cache delete action instead of removing them one by one. gh pr create also now errors when its head and base refs are identical, because there is nothing to merge between the same starting point and destination. The contributor guide was clarified, and the release records two first-time contributors. It is like emptying every old box in one warehouse aisle while a guard stops a form addressed from you to you before it reaches the desk.

Original changelog

Original changelogInstall and launch Copilot CLI directly through gh
`gh copilot` will prompt to install, then run Copilot CLI
`gh copilot <args>` will execute the Copilot CLI, forwarding any arguments and flags
`gh copilot`: add native `copilot` command to execute/install copilot cli by @devm33 in https://github.com/cli/cli/pull/12444
Fix Windows asset URL in `copilot` command tests by @babakks in https://github.com/cli/cli/pull/12500
Original changelogClear every cache for a ref and catch duplicate PR targets early
`gh cache delete`: allow for delete all caches for a ref by @davidspek in https://github.com/cli/cli/pull/12101
`gh pr create`: error when head and base refs are identical in pr create by @majiayu000 in https://github.com/cli/cli/pull/12376
Update contributing guidelines for clarity by @BagToad in https://github.com/cli/cli/pull/12505
@devm33 made their first contribution in https://github.com/cli/cli/pull/12444
@davidspek made their first contribution in https://github.com/cli/cli/pull/12101