About GitHub Copilot settings on GitHub
In addition to the configuration for the GitHub Copilot plugin in your supported IDE, you can configure settings for GitHub Copilot on GitHub. The settings apply wherever you use GitHub Copilot.
Enabling or disabling suggestions matching public code
Nota:
If you are a member of an organization on GitHub Enterprise Cloud who has been assigned a GitHub Copilot seat through your organization, you will not be able to configure suggestions matching public code in your personal account settings. Your setting for suggestions matching public code will be inherited from your organization or enterprise.
Your personal settings for GitHub Copilot include an option to either allow or block code suggestions that match publicly available code. If you choose to block suggestions matching public code, GitHub Copilot checks code suggestions with their surrounding code of about 150 characters against public code on GitHub. If there is a match, or a near match, the suggestion is not shown to you.
If you choose to allow suggestions matching public code, when Copilot suggests matching code you can display details of the matches and click through to the relevant repositories on GitHub. For more information, see Finding public code that matches GitHub Copilot suggestions.
- En la esquina superior derecha de cualquier página en GitHub, haz clic en la fotografía de perfil y luego en Your Copilot.
- To the right of Suggestions matching public code, select the dropdown menu, then click Allow to allow suggestions matching public code, or Block to block suggestions matching public code.
Disabling or enabling Agente de codificación de Copilot in your repositories
Agente de codificación de Copilot allows you to assign Copilot to GitHub issues, or ask Copilot to raise a pull request from a prompt in Copilot Chat.
Nota:
- Agente de codificación de Copilot está disponible con los planes GitHub Copilot Pro+, GitHub Copilot para empresas y GitHub Copilot para grandes empresas en repositorios donde no se ha deshabilitado. Agente de codificación de Copilot no está disponible en repositorios propiedad de cuentas de usuario administradas.
- Agente de codificación de Copilot se encuentra en versión preliminar pública y está sujeto a cambios. Durante la versión preliminar, el uso de la característica está sujeto a Términos de licencia de la versión preliminar de GitHub.
Agente de codificación de Copilot is enabled in all repositories by default, but you can block it from being used in repositories owned by your own personal account by changing your account settings.
- En la esquina superior derecha de cualquier página en GitHub, haz clic en la fotografía de perfil y luego en Your Copilot.
- In the sidebar, under Copilot, click Coding agent.
- On the Agente de codificación de Copilot page, under "Policies," click the dropdown button for "Repository access," then choose either No repositories, All repositories, or Only selected repositories.
- If you choose Only selected repositories, click Select repositories and choose the repositories where you want to enable Agente de codificación de Copilot.
Para los suscriptores de GitHub Copilot para empresas y GitHub Copilot para grandes empresas, la capacidad de usar Agente de codificación de Copilot se controla mediante la configuración de directiva definida en el nivel de organización. Consulta Adding Agente de codificación de Copilot to your organization.
Si la organización es propiedad de una empresa, la habilitación se puede controlar a nivel empresarial. Consulta Managing Agente de codificación de Copilot in your enterprise.
Enabling or disabling prompt and suggestion collection
You can choose whether your prompts and Copilot's suggestions are collected and retained by GitHub, and further processed and shared with Microsoft. For more information about data that GitHub Copilot may collect depending on your settings, see Términos de GitHub para productos y funciones adicionales and the GitHub Copilot privacy FAQ.
- En la esquina superior derecha de cualquier página en GitHub, haz clic en la fotografía de perfil y luego en Your Copilot.
- To allow or prevent GitHub using your data, select or deselect Allow GitHub to use my code snippets from the code editor for product improvements.
Enabling or disabling alternative AI models
You can choose whether to allow the following AI models to be used as an alternative to Copilot's default model.
- Claude - see Supported AI models in Copilot
- Gemini - see Supported AI models in Copilot
- En la esquina superior derecha de cualquier página en GitHub, haz clic en la fotografía de perfil y luego en Your Copilot.
- To the right of the model name, select the dropdown menu, then click Enabled or Disabled.
Enabling or disabling web search for GitHub Copilot Chat
You can enable web search for GitHub Copilot Chat. This setting is disabled by default. If you enable this setting, Copilot Chat will use Bing to search the internet for information related to a question. Bing search is particularly helpful when discussing new technologies or highly specific subjects.
- En la esquina superior derecha de cualquier página en GitHub, haz clic en la fotografía de perfil y luego en Your Copilot.
- To the right of Copilot access to Bing, select the dropdown menu, and then click Enabled or Disabled.
Model training and improvements
By default, GitHub, its affiliates, and third parties will not use your data, including prompts, suggestions, and code snippets, for AI model training. This is reflected in your personal settings for GitHub Copilot and cannot be enabled.