Comparing v2.85.0...v2.86.0 · cli/cli
Commits on Dec 26, 2025
-
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>
Commits on Jan 19, 2026
-
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 -
chore(root): register
copilotcommandSigned-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