Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/content-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,12 @@ jobs:
git config user.email "github-actions[bot]@users.noreply.github.com"
if git ls-remote --exit-code --heads origin "$UPDATE_BRANCH" > /dev/null 2>&1; then
git fetch origin "$UPDATE_BRANCH" main
git fetch --unshallow origin "$UPDATE_BRANCH" main 2>/dev/null || git fetch origin "$UPDATE_BRANCH" main
git checkout "$UPDATE_BRANCH"
git merge origin/main --no-edit || {
echo "Merge conflict with main — resetting branch to main"
git merge --abort 2>/dev/null || true
git checkout main
git checkout -f main
git branch -D "$UPDATE_BRANCH"
if [ -z "$PR_NUMBER" ]; then
git push origin --delete "$UPDATE_BRANCH" || true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,23 +75,19 @@ If you ever need to switch to an account on {% data variables.product.prodname_d

{% endxcode %}

{% cli %}
{% copilotcli %}

## Authenticating from the command line

To use the `gh-copilot` extension for the {% data variables.product.prodname_cli %}, you must:
To use {% data variables.copilot.copilot_cli_short %}, you must:

1. Download and install the extension. To do this, you must be authenticated to an account on {% data variables.product.prodname_dotcom_the_website %}. See [AUTOTITLE](/copilot/managing-copilot/configure-personal-settings/installing-github-copilot-in-the-cli#installing-copilot-in-the-cli).
1. Authenticate to the account on {% data variables.enterprise.data_residency_site %} where you receive your {% data variables.product.prodname_copilot_short %} license.
1. Download and install {% data variables.copilot.copilot_cli_short %}. See [AUTOTITLE](/copilot/how-tos/copilot-cli/set-up-copilot-cli/install-copilot-cli).
1. Authenticate to the account on {% data variables.enterprise.data_residency_site %} where you receive your {% data variables.product.prodname_copilot_short %} license with `copilot login --host {% data variables.enterprise.data_residency_domain %}`.

{% data variables.product.prodname_dotcom_the_website %} is the default destination of {% data variables.product.prodname_cli %} requests. To use `gh copilot`, you must ensure requests are sent to {% data variables.enterprise.data_residency_site %}, where you receive your license. You have the following options:
* Include the flag `--hostname SUBDOMAIN.ghe.com` in all `gh copilot` commands.
* Set the `GH_HOST` environment variable to change the default host for all {% data variables.product.prodname_cli %} commands.
* Sign out of {% data variables.product.prodname_dotcom_the_website %} with `gh auth logout`. However, you will need to sign back in to get updates to `gh-copilot`.

For general information on using the {% data variables.product.prodname_cli %} across platforms, see [AUTOTITLE](/github-cli/github-cli/using-multiple-accounts).
For general information on using {% data variables.copilot.copilot_cli_short %}, see [AUTOTITLE](/copilot/how-tos/copilot-cli).

{% endcli %}
{% endcopilotcli %}

{% visualstudio %}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ category:
You can disable {% data variables.copilot.copilot_free_short %} in your {% data variables.product.github %} account settings. This will disable all features of {% data variables.product.prodname_copilot_short %} on {% data variables.product.github %}.

{% data reusables.copilot.your-copilot %}
1. Under "Visibility," to the right of "Show {% data variables.product.prodname_copilot_short %}, select **Disabled** from the dropdown.
1. Under "Visibility," in the "Show {% data variables.product.prodname_copilot_short %}" policy, select **Disabled** from the dropdown.

If you don't see this option, you may be signed in with an account that has a {% data variables.copilot.copilot_business_short %} or {% data variables.copilot.copilot_enterprise_short %} license. These plans manage {% data variables.product.prodname_copilot_short %} settings at the organization or enterprise level.

## Disabling {% data variables.copilot.copilot_free_short %} in your IDE

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,8 @@ You can enable web search for {% data variables.copilot.copilot_chat %}. This se

1. Select the "Allow GitHub to use my data for AI model training" dropdown menu and click **Disabled**.

If you don't see "Allow GitHub to use my data for AI model training", verify that you are not signed in with an account that has a {% data variables.copilot.copilot_business_short %} or {% data variables.copilot.copilot_enterprise_short %} license. {% data variables.copilot.copilot_business_short %} and {% data variables.copilot.copilot_enterprise_short %} customers' data is protected under {% data variables.product.github %}'s Data Protection Agreement, so the setting is not displayed for these plans.

1. To verify your account type, see [AUTOTITLE](/copilot/how-tos/manage-your-account/view-and-change-your-copilot-plan).

{% endif %}
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ If you have access to {% data variables.product.prodname_copilot %} through an o
{% data reusables.user-settings.access_settings %}
{% data reusables.user-settings.billing-plans-two-platforms %}

Under "Current plan", you can see which plan you're currently using.
Under "Licensing" and "Current plan", you can see which license and plan you're currently using.

## Changing your {% data variables.product.prodname_copilot_short %} plan

Expand Down
4 changes: 2 additions & 2 deletions content/copilot/reference/ai-models/model-comparison.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ These models are designed for tasks that require step-by-step reasoning, complex
| {% data variables.copilot.copilot_gpt_54 %} | Great at complex reasoning, code analysis, and technical decision-making. |
| {% data variables.copilot.copilot_claude_sonnet_46 %} | Improves on Sonnet 4.5 with more reliable completions and smarter reasoning under pressure. |
| {% data variables.copilot.copilot_claude_opus_46 %} | Anthropic’s most powerful model. Improves on {% data variables.copilot.copilot_claude_opus_45 %}. |
| {% data variables.copilot.copilot_gemini_3_pro %} | Advanced reasoning across long contexts and scientific or technical analysis. |
| {% data variables.copilot.copilot_gemini_31_pro %} | Advanced reasoning across long contexts and scientific or technical analysis. |
| {% data variables.copilot.copilot_goldeneye %} | Complex problem-solving challenges and sophisticated reasoning. |

### When to use these models
Expand All @@ -118,7 +118,7 @@ Use these models when you want to ask questions about screenshots, diagrams, UI
|-------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| {% data variables.copilot.copilot_gpt_5_mini %} | Reliable default for most coding and writing tasks. Fast, accurate, and supports multimodal input for visual reasoning tasks. Works well across languages and frameworks. |
| {% data variables.copilot.copilot_claude_sonnet_46 %} | Improves on Sonnet 4.5 with more reliable completions and smarter reasoning under pressure. |
| {% data variables.copilot.copilot_gemini_3_pro %} | Deep reasoning and debugging, ideal for complex code generation, debugging, and research workflows. |
| {% data variables.copilot.copilot_gemini_31_pro %} | Deep reasoning and debugging, ideal for complex code generation, debugging, and research workflows. |

### When to use these models

Expand Down
3 changes: 1 addition & 2 deletions content/copilot/reference/ai-models/model-hosting.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,10 @@ When using {% data variables.copilot.copilot_claude %}, input prompts and output
Used for:

* {% data variables.copilot.copilot_gemini_25_pro %}
* {% data variables.copilot.copilot_gemini_3_pro %}
* {% data variables.copilot.copilot_gemini_3_flash %}
* {% data variables.copilot.copilot_gemini_31_pro %}

{% data variables.product.prodname_copilot %} uses {% data variables.copilot.copilot_gemini_31_pro %}, {% data variables.copilot.copilot_gemini_3_pro %}, {% data variables.copilot.copilot_gemini_3_flash %}, and {% data variables.copilot.copilot_gemini_25_pro %} hosted on Google Cloud Platform (GCP). When using {% data variables.copilot.copilot_gemini %} models, prompts and metadata are sent to GCP, which makes the [following data commitment](https://cloud.google.com/vertex-ai/generative-ai/docs/data-governance): _{% data variables.copilot.copilot_gemini %} doesn't use your prompts, or its responses, as data to train its models._
{% data variables.product.prodname_copilot %} uses {% data variables.copilot.copilot_gemini_31_pro %}, {% data variables.copilot.copilot_gemini_3_flash %}, and {% data variables.copilot.copilot_gemini_25_pro %} hosted on Google Cloud Platform (GCP). When using {% data variables.copilot.copilot_gemini %} models, prompts and metadata are sent to GCP, which makes the [following data commitment](https://cloud.google.com/vertex-ai/generative-ai/docs/data-governance): _{% data variables.copilot.copilot_gemini %} doesn't use your prompts, or its responses, as data to train its models._

To provide better service quality and reduce latency, {% data variables.product.github %} uses [prompt caching](https://cloud.google.com/vertex-ai/generative-ai/docs/data-governance#customer_data_retention_and_achieving_zero_data_retention).

Expand Down
5 changes: 4 additions & 1 deletion content/rest/copilot/copilot-usage-metrics.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
---
title: REST API endpoints for Copilot usage metrics
shortTitle: Copilot usage metrics
intro: Use the REST API to view {% data variables.product.prodname_copilot_short %} usage metrics.
intro: >-
Use the REST API to view {% data variables.product.prodname_copilot_short %}
usage metrics.
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
fpt: '*'
ghec: '*'
autogenerated: rest
allowTitleToDifferFromFilename: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ redirect_from:
- /github/site-policy/github-acceptable-use-policies
versions:
fpt: '*'
category:
- Follow acceptable use policies
---

**Short version:** _We host a wide variety of collaborative projects from all over the world, and that collaboration only works when our users are able to work together in good faith. While using the Service, you must comply with our Acceptable Use Policies, which include some restrictions on content and conduct on GitHub related to user safety, intellectual property, privacy, authenticity, and other limitations. In short, be excellent to each other._
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ versions:
redirect_from:
- /github/site-policy/github-active-malware-or-exploits
- /github/site-policy/github-community-guidelines#active-malware-or-exploits
category:
- Follow acceptable use policies
---

Being part of a community includes not taking advantage of other members of the community. We do not allow anyone to use our platform in direct support of unlawful attacks that cause technical harms, such as using GitHub as a means to deliver malicious executables or as attack infrastructure, for example by organizing denial of service attacks or managing command and control servers. Technical harms means overconsumption of resources, physical damage, downtime, denial of service, or data loss, with no implicit or explicit dual-use purpose prior to the abuse occurring.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ versions:
fpt: '*'
redirect_from:
- /articles/github-appeal-and-reinstatement
category:
- Follow acceptable use policies
---
## Appeal and Reinstatement

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ versions:
redirect_from:
- /github/site-policy/github-bullying-and-harassment
- /github/site-policy/github-community-guidelines#bullying-and-harassment
category:
- Follow acceptable use policies
---

We do not tolerate harassment, bullying, or abuse of any kind, whether directly or by encouraging others to take part in the prohibited conduct. This includes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ versions:
redirect_from:
- /csam
- /github/site-policy/github-child-exploitation-or-abuse
category:
- Follow acceptable use policies
---

GitHub does not allow any content or conduct on GitHub that exploits, harms, or endangers children, and we have a zero-tolerance policy for child sexual exploitation or abuse material (CSAM). This means you may not engage in activities including but not limited to:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ versions:
redirect_from:
- /github/site-policy/github-disrupting-the-experience-of-other-users
- /github/site-policy/github-community-guidelines#disrupting-the-experience-of-other-users
category:
- Follow acceptable use policies
---

Being part of a community includes recognizing how your behavior affects others and engaging in meaningful and productive interactions with people and the platform they rely on.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ versions:
redirect_from:
- /github/site-policy/github-doxxing-and-invasion-of-privacy
- /github/site-policy/github-community-guidelines#doxxing-and-invasion-of-privacy
category:
- Follow acceptable use policies
---

Don't post other people's personal information. This includes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ versions:
redirect_from:
- /github/site-policy/github-hate-speech-and-discrimination
- /github/site-policy/github-community-guidelines#hate-speech-and-discrimination
category:
- Follow acceptable use policies
---

GitHub does not tolerate speech that attacks or promotes hate toward an individual or group of people on the basis of who they are, including age, body size, ability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, sexual identity, or sexual orientation. This includes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ versions:
redirect_from:
- /github/site-policy/github-impersonation
- /github/site-policy/github-community-guidelines#impersonation
category:
- Follow acceptable use policies
---

You may not misrepresent your identity or your association with another person or organization. This includes doing any of the following in a way that misleads or deceives others:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ versions:
redirect_from:
- /github/site-policy/github-misinformation-and-disinformation
- /github/site-policy/github-community-guidelines#misinformation-and-disinformation
category:
- Follow acceptable use policies
---

You may not post content that presents a distorted view of reality, whether it is inaccurate or false (misinformation) or is intentionally deceptive (disinformation), where such content is likely to result in harm to the public or to interfere with fair and equal opportunities for all to take part in a free and open society. This may include:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ versions:
redirect_from:
- /ncii
- /github/site-policy/github-ncii
category:
- Follow acceptable use policies
---

GitHub does not tolerate the distribution of non-consensual intimate imagery (NCII). This includes, but is not limited to:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ versions:
redirect_from:
- /github/site-policy/github-sexually-obscene-content
- /github/site-policy/github-community-guidelines#sexually-obscene-content
category:
- Follow acceptable use policies
---

We do not tolerate content associated with sexual exploitation or abuse of another individual, including where [minors are concerned](/site-policy/acceptable-use-policies/github-child-sexual-exploitation-or-abuse). We do not allow sexually themed or suggestive content that serves little or no purpose other than to solicit an erotic or shocking response, particularly where that content is amplified by its placement in profiles or other social contexts. This includes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ versions:
redirect_from:
- /ai-tools
- /github/site-policy/github-synthetic-media-and-ai-tools
category:
- Follow acceptable use policies
---

GitHub does not allow any projects that are designed for, encourage, promote, support, or suggest in any way the use of large language models or any other synthetic or manipulated media tools for the creation of:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ versions:
redirect_from:
- /tvec
- /github/site-policy/github-terrorism-and-violent-extremism
category:
- Follow acceptable use policies
---

GitHub does not allow any content or conduct on GitHub that furthers terrorism or violent extremism (TVE). We will remove content and may ban accounts affiliated with TVE groups or individuals. You may not use GitHub for activities including but not limited to:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ redirect_from:
- /github/site-policy/github-threats-of-violence-and-gratuitously-violent-content
- /github/site-policy/github-community-guidelines#threats-of-violence
- /github/site-policy/github-community-guidelines#gratuitously-violent-content
category:
- Follow acceptable use policies
---


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ redirect_from:
- /github/site-policy/dmca-takedown-policy
versions:
fpt: '*'
category:
- Request content removal
---

Welcome to GitHub's Guide to the Digital Millennium Copyright Act, commonly known as the "DMCA." This page is not meant as a comprehensive primer to the statute. However, if you've received a DMCA takedown notice targeting content you've posted on GitHub or if you're a rights-holder looking to issue such a notice, this page will hopefully help to demystify the law a bit as well as our policies for complying with it.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ redirect_from:
- /github/site-policy/github-private-information-removal-policy
versions:
fpt: '*'
category:
- Request content removal
---

We offer this private information removal process as an exceptional service only for high-risk content that violates [GitHub's Terms of Service](/site-policy/acceptable-use-policies/github-acceptable-use-policies#3-conduct-restrictions), such as when your security is at risk from exposed access credentials. This guide describes the information GitHub needs from you in order to process a request to remove private information from a repository.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ redirect_from:
- /github/site-policy/github-trademark-policy
versions:
fpt: '*'
category:
- Request content removal
---
## What is a GitHub Trademark Policy Violation?

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ redirect_from:
- /github/site-policy/guide-to-submitting-a-dmca-counter-notice
versions:
fpt: '*'
category:
- Request content removal
---

This guide describes the information that GitHub needs in order to process a counter notice to a DMCA takedown request. If you have more general questions about what the DMCA is or how GitHub processes DMCA takedown requests, please review our [DMCA Takedown Policy](/site-policy/content-removal-policies/dmca-takedown-policy).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ redirect_from:
- /github/site-policy/guide-to-submitting-a-dmca-takedown-notice
versions:
fpt: '*'
category:
- Request content removal
---

This guide describes the information that GitHub needs in order to process a DMCA takedown request. If you have more general questions about what the DMCA is or how GitHub processes DMCA takedown requests, please review our [DMCA Takedown Policy](/site-policy/content-removal-policies/dmca-takedown-policy).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ redirect_from:
- /github/site-policy/github-terms-and-other-site-policies/submitting-content-removal-requests
versions:
fpt: '*'
category:
- Request content removal
---

We understand that copyrighted, trademarked, or private content may get published on GitHub – either accidentally or on purpose – sometimes in repositories that you do not own. Because the nature of this content varies, and because of different applicable laws, each category has its own, distinct reporting requirements outlined in our policies.
Expand Down
Loading
Loading