Describe the failure and let Copilot inspect the repo.
Section: High-value workflows
Ask Copilot to fix a failing test
bash
bash
copilot -p "A test is failing after the last merge. Inspect the codebase, identify the likely cause, and propose the smallest safe fix."Explanation
A practical starting point for debugging flows.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing High-value workflows
Scaffold a feature from the terminal
Ask for a small feature implementation plan and changes.
Review current repository changes
Ask for a human-readable review of local modifications.
Onboard to an unfamiliar repository
Ask Copilot for an architecture tour.
Summarize a file from the command line
Run Copilot non-interactively with a prompt.
Inject a file into the prompt context
Reference a file inline inside the interactive UI.