Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: cli/cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.85.0
Choose a base ref
...
head repository: cli/cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.86.0
Choose a head ref
  • 18 commits
  • 13 files changed
  • 6 contributors

Commits on Dec 26, 2025

  1. fix: error when head and base refs are identical in pr create

    When a user runs `gh pr create` with head and base refs pointing to
    the same ref in the same repository, the command now exits with an
    error instead of proceeding with an invalid PR creation.
    
    This prevents accidental pushes to the main branch and provides clear
    feedback when users attempt to create a PR from the base branch.
    
    Cross-repository PRs (e.g., from forks) with the same branch name
    continue to work as expected.
    
    Fixes #11903
    
    Signed-off-by: majiayu000 <1835304752@qq.com>
    majiayu000 committed Dec 26, 2025
    Configuration menu
    Copy the full SHA
    9daa22e View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2026

  1. refactor(run download): extract zip extraction func into a separate p…

    …ackage
    
    Signed-off-by: Babak K. Shandiz <babakks@github.com>
    
    Co-authored-by: Kynan Ware <bagtoad@github.com>
    Co-authored-by: Devraj Mehta <devm33@github.com>
    3 people committed Jan 19, 2026
    Configuration menu
    Copy the full SHA
    0f32f2a View commit details
    Browse the repository at this point in the history
  2. feat: add copilot command

    Signed-off-by: Babak K. Shandiz <babakks@github.com>
    
    Co-authored-by: Kynan Ware <bagtoad@github.com>
    Co-authored-by: Devraj Mehta <devm33@github.com>
    3 people committed Jan 19, 2026
    Configuration menu
    Copy the full SHA
    3988065 View commit details
    Browse the repository at this point in the history
  3. chore(root): register copilot command

    Signed-off-by: Babak K. Shandiz <babakks@github.com>
    
    Co-authored-by: Kynan Ware <bagtoad@github.com>
    Co-authored-by: Devraj Mehta <devm33@github.com>
    3 people committed Jan 19, 2026
    Configuration menu
    Copy the full SHA
    08a4413 View commit details
    Browse the repository at this point in the history
  4. fix(root): avoid command name collision when registering extensions

    Signed-off-by: Babak K. Shandiz <babakks@github.com>
    
    Co-authored-by: Kynan Ware <bagtoad@github.com>
    Co-authored-by: Devraj Mehta <devm33@github.com>
    3 people committed Jan 19, 2026
    3 Configuration menu
    Copy the full SHA
    10b4a1f View commit details
    Browse the repository at this point in the history
  5. fix(copilot): replace windows with win32 to match asset names

    Signed-off-by: Babak K. Shandiz <babakks@github.com>
    babakks committed Jan 19, 2026
    Configuration menu
    Copy the full SHA
    bc5a44a View commit details
    Browse the repository at this point in the history
  6. Fix OS name in test archive filename to 'win32'

    Replaces runtime.GOOS with 'win32' in the test archive filename within TestDownloadCopilot. This ensures the test uses the expected archive name for Windows.
    BagToad committed Jan 19, 2026
    Configuration menu
    Copy the full SHA
    d187bef View commit details
    Browse the repository at this point in the history
  7. Merge pull request #12444 from devm33/ghcopilot

    feat: add native copilot command to shim copilot cli
    BagToad authored Jan 19, 2026
    Configuration menu
    Copy the full SHA
    2728635 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2026

  1. feat(cache delete): allow for delete all caches for a ref

    Signed-off-by: David van der Spek <david.vanderspek@flyrlabs.com>
    davidspek committed Jan 20, 2026
    Configuration menu
    Copy the full SHA
    6a798e7 View commit details
    Browse the repository at this point in the history
  2. fix(cache delete): add unit tests and expand help doc

    Signed-off-by: David van der Spek <david.vanderspek@flyrlabs.com>
    davidspek committed Jan 20, 2026
    1 Configuration menu
    Copy the full SHA
    9cdc0c4 View commit details
    Browse the repository at this point in the history
  3. test(copilot): fix windows asset URL

    Signed-off-by: Babak K. Shandiz <babakks@github.com>
    babakks committed Jan 20, 2026
    Configuration menu
    Copy the full SHA
    da5e5ac View commit details
    Browse the repository at this point in the history
  4. Merge pull request #12500 from cli/babakks/polish-copilot-cmd-tests

    Fix Windows asset URL in `copilot` command tests
    BagToad authored Jan 20, 2026
    Configuration menu
    Copy the full SHA
    3d89222 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c4fd102 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #12101 from davidspek/feat/delete-all-cache-ref

    feat(cache delete): allow for delete all caches for a ref
    BagToad authored Jan 20, 2026
    Configuration menu
    Copy the full SHA
    3e8855f View commit details
    Browse the repository at this point in the history
  7. 1 Configuration menu
    Copy the full SHA
    fe72908 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2026

  1. refactor: address review comments

    Signed-off-by: majiayu000 <1835304752@qq.com>
    majiayu000 committed Jan 21, 2026
    Configuration menu
    Copy the full SHA
    0f4b9b0 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #12505 from cli/kw/contributing-guidelines-clarity

    Update contributing guidelines for clarity
    BagToad authored Jan 21, 2026
    Configuration menu
    Copy the full SHA
    c34c47c View commit details
    Browse the repository at this point in the history
  3. Merge pull request #12376 from majiayu000/fix-11903-pr-create-same-ref

    fix: error when head and base refs are identical in pr create
    BagToad authored Jan 21, 2026
    Configuration menu
    Copy the full SHA
    49f7223 View commit details
    Browse the repository at this point in the history
Loading