Skip to main content

Folha de referências do GitHub Copilot Chat

Use esta folha de referências para consultar rapidamente os comandos e opções mais comuns para usar o GitHub Copilot Chat.

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.

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.

CommandDescription
/clearClear conversation.
/deleteDelete a conversation.
/fileRetrieves a specific file from the repository by its path.
/helpQuick reference and basics of using GitHub Copilot.
/newStart a new conversation
/renameRename a conversation.
/searchPerforms a search within the repository, including issues, pull requests, and code.