A developer wants to use GitHub Copilot CLI to prepare an implementation plan for an issue before allowing any file modifications. The developer starts this session: Which change should the developer make first? Select one answer.
cd ~
copilot
# Prompt:
# Read issue #184, design the fix, update the code, run tests,
# and create a plan.md explaining what changed.Choose an answer
Tap an option to check your answer.
Correct answer: Start in the repository and request plan-only output.
Why this is the answer
The developer should start in the repository and request plan-only output because Copilot CLI needs to be run from within the repository it's intended to act upon to access issue 184 and the codebase. Requesting plan-only output ensures that Copilot focuses on generating a plan (plan.md) without immediately modifying files, aligning with the goal of preparing an implementation plan before allowing file modifications. Running from the home directory (cd ~) would prevent Copilot from accessing the repository context. Asking Copilot to commit changes after tests or using workflowdispatch after local code edits are actions that occur much later in the development cycle, after the planning and implementation phases, and do not address the initial setup for planning.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed