翻篇收录说明
翻篇网页快照

Requesting a code review with GitHub Copilot CLI - GitHub Docs

https://docs.github.com/en/copilot/how-tos/copilot-cli/use-copilot-cli/agentic-code-review

最近抓取:2026-12-03 01:04:15(北京时间)

最近内容变化:2026-11-30 04:51:22(北京时间)

这是最近一次有效抓取的文本快照,不含网页脚本、图片和动态交互内容。实际网页可能已更新。

访问原网页

页面简介

Use Copilot CLI to review your code changes directly from the terminal.

正文摘录

In this articleRequesting a code review with GitHub Copilot CLIUse Copilot CLI to review your code changes directly from the terminal.Copy markdownWho can use this feature?GitHub Copilot CLI is available with all Copilot plans. If you receive Copilot from an organization, the Copilot CLI policy must be enabled in the organization's settings.In this articleAbout agentic code review You can use the /review slash command to have Copilot analyze code changes without leaving the CLI. This lets you get quick feedback on your changes prior to committing. Type /review and optionally specify a prompt, path, or file pattern to narrow the review scope, then press Enter. If Copilot proposes running a command (for example, to inspect a diff or verify a file), review the command, then use the arrow keys to choose an option and press Enter. Select Yes to run the command. Select No to skip the command and tell Copilot what to do differently. Read the feedback that Copilot provides about your changes and apply any suggested improvements in your code editor. Further reading Automating tasks with Copilot CLI and GitHub Actions Adding custom instructions for GitHub Copilot CLI