This version of this article is for Copilot on the GitHub website. For other versions of this article, click the tabs above.
About GitHub Copilot enhancements
You can enhance your experience of Copilot Chat with a variety of commands and options. Finding the right command or option for the task you are working on can help you achieve your goals more efficiently. This cheat sheet provides a quick reference to the most common commands and options for using Copilot Chat.
For information about how to get started with Copilot Chat in the GitHub website, see Asking GitHub Copilot questions in GitHub.
Mentions
Use @
mentions in to attach relevant context directly to your conversations. Type @
in the chat prompt box to display a list of items you can attach, such as:
- Discussions
- Extensions
- Files
- Issues
- Pull requests
- Repositories
Slash commands
Use slash commands to avoid writing complex prompts for common scenarios. To use a slash command, type /
in the chat prompt box, followed by the command name.
Available slash commands may vary, depending on your environment and the context of your chat. To view a list of currently available slash commands, type /
in the chat prompt box of your current environment. Below is a list of some of the most common slash commands for using Copilot Chat.
Command | Description |
---|---|
/clear | Clear conversation. |
/delete | Delete a conversation. |
/new | Start a new conversation |
/rename | Rename a conversation. |