working with local repositories on github copilot desktop app #207087
Replies: 1 comment
|
“Local repository” describes where the checkout and command execution live; it does not mean that model inference is offline or that no source context leaves the machine. GitHub's current Copilot Agents documentation says the app uses Copilot CLI/SDK. For a local session, file access and command execution are scoped locally, but your prompt is combined with relevant context—including code snippets or file references—and sent to the selected language model for processing. If you choose a cloud sandbox/delegation flow, the task instead runs in an ephemeral hosted environment. The practical boundaries are therefore:
For proprietary code, I would use an organization-approved Business/Enterprise account, configure content exclusions for secrets/vendor-sensitive paths, open only the narrow repository root required for the task, disable unneeded MCP servers and cloud delegation, and verify the organization's retention/training policy before use. If your policy requires source never to leave the device, a normal Copilot local session does not meet that requirement; you would need an approved local/offline model path instead. References: |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Question
Body
Previously, the functionalities now available in the desktop app were only available in the cloud and therefore supported only cloud repositories. The desktop app now also allows users to add local repositories. Since I work with proprietary code and want to ensure it remains protected, could you clarify the boundaries of the "local repository" functionality? Specifically, which actions, if any, involve transmitting source code, repository contents, or metadata outside the local machine?
All reactions