GitHub Copilot Chat now provides richer context and new capabilities when you’re working with diffs and pull requests.

You can access this functionality by asking a question about a pull request in github.com/copilot, or via the global Copilot navigation, which allows you to open chat over any GitHub surface.

Public-preview-enabled users can also click the Copilot button on a diff to ask a series of questions to better understand the changes or the related pull request.

New abilities

Three new abilities improve how Copilot Chat responds to pull request questions. These work in both on-page and immersive (github.com/copilot) chat:

  • Pull request understanding: When a pull request is given as context, Copilot Chat now includes data like comments, file changes, commits, and reviews.
  • Pull request review: Ask Copilot Chat to help review a pull request, and it’ll provide a structured review.
  • Pull request summary: Ask Copilot Chat to summarize a pull request, and it’ll provide a concise overview of the changes.

We’ve updated the suggested prompts for chat (e.g., “Help review this pull request”) to guide you through the relevant functionality.

Give feedback

Join the discussion within GitHub Community.