Skip to main content

Copilot Chat

Learn how to use Copilot Chat across different environments.

Asking GitHub Copilot questions in your IDE

Use Copilot Chat in your editor to give code suggestions, explain code, generate unit tests, and suggest code fixes.

Asking GitHub Copilot questions in GitHub

You can use GitHub Copilot Chat in GitHub to answer general questions about software development, or specific questions about the issues or code in a repository.

Asking GitHub Copilot questions in GitHub Mobile

You can use GitHub Copilot Chat in GitHub Mobile to answer general questions about software development, or specific questions about the code in a repository. With Copilot Enterprise you can also ask specific questions about a pull request, issue, or discussion.

Getting started with prompts for Copilot Chat

Get an overview of ways to use Copilot Chat.

Indexing repositories for Copilot Chat

GitHub Copilot Chat improves responses to questions about code by indexing your repositories.

Prompt engineering for Copilot Chat

Follow these strategies to improve your Copilot results.

GitHub Copilot Chat cheat sheet

Use this cheat sheet to quickly reference the most common commands and options for using GitHub Copilot Chat.