Comparing v2.85.0...v2.86.0 · cli/cli

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>
    Configuration menu

    Browse the repository at this point in the history

Commits on Jan 19, 2026

  1. Configuration menu

    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

    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

    Browse the repository at this point in the history

  4. 3 Configuration menu

    Browse the repository at this point in the history

  5. Configuration menu

    Browse the repository at this point in the history

  6. Configuration menu

    Browse the repository at this point in the history

  7. Configuration menu

    Browse the repository at this point in the history

Commits on Jan 20, 2026

  1. Configuration menu

    Browse the repository at this point in the history

  2. 1 Configuration menu

    Browse the repository at this point in the history

  3. Configuration menu

    Browse the repository at this point in the history

  4. Configuration menu

    Browse the repository at this point in the history

  5. Configuration menu

    Browse the repository at this point in the history

  6. Configuration menu

    Browse the repository at this point in the history

  7. 1 Configuration menu

    Browse the repository at this point in the history

Commits on Jan 21, 2026

  1. Configuration menu

    Browse the repository at this point in the history

  2. Configuration menu

    Browse the repository at this point in the history

  3. Configuration menu

    Browse the repository at this point in the history