Codespaces: Prevent Copilot from editing code/PRs? #199114
Replies: 1 comment 2 replies
-
|
this one is a bit different from inline suggestions,,, what you're describing is Copilot's "agentic" / edit mode(sometimes called "Copilot Edits" or agent mode),where chat responses can directly modify files or open PRs rather than just suggesting text.this is a chat mode/feature, not really an "inline suggestion" setting, so its controlled differently . the core issue,,,,chat mode selection.
about PRs specifically .
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
🏷️ Discussion Type
Question
💬 Feature/Topic Area
Copilot in GitHub
Body
In Codespaces specifically, how do I prevent Copilot from editing my code or making pull requests, across all Codespaces and repos, and keep it disabled unless I manually change the setting again? Sometimes, when I use the chat, it changes my code and prompts a PR without my consent. I have to include in every prompt "Do not change my code."
I'm not talking about inline suggestions (see my other question about that), but rather when Copilot actually changes the code.
Beta Was this translation helpful? Give feedback.
All reactions