Chat with Copilot on GitHub
Copilot Chat responds differently depending on where you are on GitHub. The following examples show the kinds of questions you can ask in each context.
General software questions
tell me about nodejs web server frameworkshow can I create an Express appwhat is the best way to update an npm package
Repository questions
Navigate to a repository to ask about its code, structure, or history.
What is the main purpose of this repo?Where is rate limiting implemented in our API?What was the last merged PR by USERNAME
File and code questions
Open a file or select specific lines, then ask about them.
Pull request questions
Navigate to a pull request to ask about changes, reviews, or failing workflows.
Security alert questions
Navigate to a code scanning, secret scanning, or Dependabot alert to ask about it.
Issue, discussion, and commit questions
Navigate to any issue, discussion, or commit and ask Copilot Chat about it.