Skip to content

Commit 10fca1f

Browse files
authored
Merge pull request #43547 from github/repo-sync
Repo sync
2 parents 68e1535 + c5162a9 commit 10fca1f

File tree

170 files changed

+6384
-353
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

170 files changed

+6384
-353
lines changed

.github/workflows/content-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,12 @@ jobs:
7171
git config user.email "github-actions[bot]@users.noreply.github.com"
7272
7373
if git ls-remote --exit-code --heads origin "$UPDATE_BRANCH" > /dev/null 2>&1; then
74-
git fetch origin "$UPDATE_BRANCH" main
74+
git fetch --unshallow origin "$UPDATE_BRANCH" main 2>/dev/null || git fetch origin "$UPDATE_BRANCH" main
7575
git checkout "$UPDATE_BRANCH"
7676
git merge origin/main --no-edit || {
7777
echo "Merge conflict with main — resetting branch to main"
7878
git merge --abort 2>/dev/null || true
79-
git checkout main
79+
git checkout -f main
8080
git branch -D "$UPDATE_BRANCH"
8181
if [ -z "$PR_NUMBER" ]; then
8282
git push origin --delete "$UPDATE_BRANCH" || true

content/copilot/how-tos/configure-personal-settings/authenticate-to-ghecom.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -75,23 +75,19 @@ If you ever need to switch to an account on {% data variables.product.prodname_d
7575

7676
{% endxcode %}
7777

78-
{% cli %}
78+
{% copilotcli %}
7979

8080
## Authenticating from the command line
8181

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

84-
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).
85-
1. Authenticate to the account on {% data variables.enterprise.data_residency_site %} where you receive your {% data variables.product.prodname_copilot_short %} license.
84+
1. Download and install {% data variables.copilot.copilot_cli_short %}. See [AUTOTITLE](/copilot/how-tos/copilot-cli/set-up-copilot-cli/install-copilot-cli).
85+
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 %}`.
8686

87-
{% 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:
88-
* Include the flag `--hostname SUBDOMAIN.ghe.com` in all `gh copilot` commands.
89-
* Set the `GH_HOST` environment variable to change the default host for all {% data variables.product.prodname_cli %} commands.
90-
* 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`.
9187

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

94-
{% endcli %}
90+
{% endcopilotcli %}
9591

9692
{% visualstudio %}
9793

content/copilot/how-tos/manage-your-account/disable-copilot-free.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ category:
2020
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 %}.
2121

2222
{% data reusables.copilot.your-copilot %}
23-
1. Under "Visibility," to the right of "Show {% data variables.product.prodname_copilot_short %}, select **Disabled** from the dropdown.
23+
1. Under "Visibility," in the "Show {% data variables.product.prodname_copilot_short %}" policy, select **Disabled** from the dropdown.
24+
25+
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.
2426

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

content/copilot/how-tos/manage-your-account/manage-policies.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,8 @@ You can enable web search for {% data variables.copilot.copilot_chat %}. This se
8585

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

88+
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.
89+
90+
1. To verify your account type, see [AUTOTITLE](/copilot/how-tos/manage-your-account/view-and-change-your-copilot-plan).
91+
8892
{% endif %}

content/copilot/how-tos/manage-your-account/view-and-change-your-copilot-plan.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ If you have access to {% data variables.product.prodname_copilot %} through an o
3434
{% data reusables.user-settings.access_settings %}
3535
{% data reusables.user-settings.billing-plans-two-platforms %}
3636

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

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

content/copilot/reference/ai-models/model-comparison.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ These models are designed for tasks that require step-by-step reasoning, complex
9292
| {% data variables.copilot.copilot_gpt_54 %} | Great at complex reasoning, code analysis, and technical decision-making. |
9393
| {% data variables.copilot.copilot_claude_sonnet_46 %} | Improves on Sonnet 4.5 with more reliable completions and smarter reasoning under pressure. |
9494
| {% data variables.copilot.copilot_claude_opus_46 %} | Anthropic’s most powerful model. Improves on {% data variables.copilot.copilot_claude_opus_45 %}. |
95-
| {% data variables.copilot.copilot_gemini_3_pro %} | Advanced reasoning across long contexts and scientific or technical analysis. |
95+
| {% data variables.copilot.copilot_gemini_31_pro %} | Advanced reasoning across long contexts and scientific or technical analysis. |
9696
| {% data variables.copilot.copilot_goldeneye %} | Complex problem-solving challenges and sophisticated reasoning. |
9797

9898
### When to use these models
@@ -118,7 +118,7 @@ Use these models when you want to ask questions about screenshots, diagrams, UI
118118
|-------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
119119
| {% 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. |
120120
| {% data variables.copilot.copilot_claude_sonnet_46 %} | Improves on Sonnet 4.5 with more reliable completions and smarter reasoning under pressure. |
121-
| {% data variables.copilot.copilot_gemini_3_pro %} | Deep reasoning and debugging, ideal for complex code generation, debugging, and research workflows. |
121+
| {% data variables.copilot.copilot_gemini_31_pro %} | Deep reasoning and debugging, ideal for complex code generation, debugging, and research workflows. |
122122

123123
### When to use these models
124124

content/copilot/reference/ai-models/model-hosting.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,10 @@ When using {% data variables.copilot.copilot_claude %}, input prompts and output
7676
Used for:
7777

7878
* {% data variables.copilot.copilot_gemini_25_pro %}
79-
* {% data variables.copilot.copilot_gemini_3_pro %}
8079
* {% data variables.copilot.copilot_gemini_3_flash %}
8180
* {% data variables.copilot.copilot_gemini_31_pro %}
8281

83-
{% 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._
82+
{% 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._
8483

8584
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).
8685

content/rest/copilot/copilot-usage-metrics.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
---
22
title: REST API endpoints for Copilot usage metrics
33
shortTitle: Copilot usage metrics
4-
intro: Use the REST API to view {% data variables.product.prodname_copilot_short %} usage metrics.
4+
intro: >-
5+
Use the REST API to view {% data variables.product.prodname_copilot_short %}
6+
usage metrics.
57
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
8+
fpt: '*'
69
ghec: '*'
710
autogenerated: rest
811
allowTitleToDifferFromFilename: true

content/site-policy/acceptable-use-policies/github-acceptable-use-policies.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ redirect_from:
55
- /github/site-policy/github-acceptable-use-policies
66
versions:
77
fpt: '*'
8+
category:
9+
- Follow acceptable use policies
810
---
911

1012
**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._

content/site-policy/acceptable-use-policies/github-active-malware-or-exploits.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ versions:
66
redirect_from:
77
- /github/site-policy/github-active-malware-or-exploits
88
- /github/site-policy/github-community-guidelines#active-malware-or-exploits
9+
category:
10+
- Follow acceptable use policies
911
---
1012

1113
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.

0 commit comments

Comments
 (0)