Skip to content

Commit a6a4132

Browse files
Merge branch 'main' into patch-3
2 parents ac70a13 + 10e6ee2 commit a6a4132

File tree

35 files changed

+610
-230
lines changed

35 files changed

+610
-230
lines changed
66.3 KB
Loading

content/authentication/keeping-your-account-and-data-secure/about-authentication-to-github.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ To keep your account secure, you must authenticate before you can access certain
2020
You can access your resources in {% data variables.product.github %} in a variety of ways: in the browser, via {% data variables.product.prodname_desktop %} or another desktop application, with the API, or via the command line. Each way of accessing {% data variables.product.github %} supports different modes of authentication.
2121
{%- ifversion not fpt %}
2222
* Your identity provider (IdP){% endif %}
23-
* Username and password with two-factor authentication, or a passkey
23+
* Username and password (or social login) with two-factor authentication, or a passkey ({% data variables.product.prodname_free_user %}, and {% data variables.product.prodname_ghe_cloud %} only)
2424
* {% data variables.product.pat_generic_caps %}
2525
* SSH key
2626

@@ -46,9 +46,13 @@ If you need to use multiple accounts on {% data variables.location.product_locat
4646

4747
* **Username and password only**
4848
* You'll create a password when you create your account on {% data variables.product.github %}. We recommend that you use a password manager to generate a random and unique password. For more information, see [AUTOTITLE](/authentication/keeping-your-account-and-data-secure/creating-a-strong-password).{% ifversion fpt or ghec %}
49-
* If you have not enabled 2FA, {% data variables.product.github %} may ask for additional verification when you first sign in from a new or unrecognized device, such as a new browser profile, a browser where the cookies have been deleted, or a new computer. For more information, see [AUTOTITLE](/authentication/keeping-your-account-and-data-secure/verifying-new-devices-when-signing-in).{% endif %}
49+
* If you have not enabled 2FA, {% data variables.product.github %} may ask for additional verification when you first sign in from a new or unrecognized device, such as a new browser profile, a browser where the cookies have been deleted, or a new computer. For more information, see [AUTOTITLE](/authentication/keeping-your-account-and-data-secure/verifying-new-devices-when-signing-in).{% endif %} {% ifversion fpt or ghec %}
50+
* **Social login**
51+
* You'll authenticate with one of the supported social login providers (currently only Google is supported) when you create your account on {% data variables.product.github %}. We recommend that you also configure 2FA and add a passkey or a password as an additional account recovery mechanism.
52+
* If you have an existing account created with a password, you can add your social login email to the account. This allows you to use your social login identity as a first-factor (password) replacement when you sign in to {% data variables.product.github %}.
53+
* You can unlink your social login identities from your {% data variables.product.github %} email settings page. For more information, see [AUTOTITLE](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-your-personal-account/unlinking-your-email-address-from-a-locked-account) {% endif %}
5054
* **Two-factor authentication (2FA)** (recommended)
51-
* If you enable 2FA, after you successfully enter your username and password, we'll also prompt you to provide a code that's generated by a time-based one time password (TOTP) application on your mobile device{% ifversion fpt or ghec %} or sent as a text message (SMS).{% endif %}{% ifversion 2fa-check-up-period %}
55+
* If you enable two-factor authentication (2FA), after you sign in with social login or your username and password, you'll be prompted to enter a code from a time-based one-time password (TOTP) application on your mobile device{% ifversion fpt or ghec %} or sent as a text message (SMS).{% endif %}{% ifversion 2fa-check-up-period %}
5256
* After you configure 2FA, your account enters a check up period for 28 days. You can leave the check up period by successfully performing 2FA within those 28 days. If you don't perform 2FA in that timespan, you'll then be asked to perform 2FA inside one of your existing {% data variables.product.prodname_dotcom %} sessions.
5357
* If you cannot perform 2FA to pass the 28th day checkup, you will be provided a shortcut that lets you reconfigure your 2FA settings. You must reconfigure your settings before you can access the rest of {% data variables.product.prodname_dotcom %}{% endif %}. For more information, see [AUTOTITLE](/authentication/securing-your-account-with-two-factor-authentication-2fa/accessing-github-using-two-factor-authentication#providing-a-2fa-code-when-signing-in-to-the-website){% ifversion 2fa-check-up-period %} and [AUTOTITLE](/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication){% endif %}.
5458
* In addition to authentication with a TOTP application{% ifversion fpt or ghec %} or a text message{% endif %}, you can optionally add an alternative method of authentication with {% ifversion fpt or ghec %}{% data variables.product.prodname_mobile %} or{% endif %} a security key using WebAuthn. See {% ifversion fpt or ghec %}[Configuring two-factor authentication using {% data variables.product.prodname_mobile %}](/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication#configuring-two-factor-authentication-using-github-mobile) or {% endif %}[Configuring two-factor authentication using a security key](/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication#configuring-two-factor-authentication-using-a-security-key).

content/authentication/keeping-your-account-and-data-secure/sudo-mode.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ To confirm access for sudo mode, you can authenticate with your password. Option
5252
{%- endif %}
5353
* [Confirming access using a 2FA code](#confirming-access-using-a-2fa-code)
5454
* [Confirming access using your password](#confirming-access-using-your-password)
55+
* [Confirming access using your social login email](#confirming-access-using-your-social-login-email)
5556

5657
### Confirming access using a passkey
5758

@@ -87,3 +88,9 @@ When prompted to authenticate for sudo mode, type the authentication code from y
8788
### Confirming access using your password
8889

8990
When prompted to authenticate for sudo mode, type your password, then click **Confirm**.
91+
92+
### Confirming access using your social login email
93+
94+
Before you can access sudo mode, you must first configure social login. For more information, see [AUTOTITLE](/authentication/keeping-your-account-and-data-secure/about-authentication-to-github).
95+
96+
When prompted to authenticate for sudo mode, type the authentication code sent to your social login email account, then click **Verify**.

content/billing/managing-your-billing/gathering-insights-on-your-spending.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ You can view the usage of your {% data variables.enterprise.enterprise_or_org %}
8282
1. To request a CSV usage report, select **Get usage report** in the upper-right corner of the page.
8383

8484
* For a breakdown of all metered usage, click **Metered billing usage report**.
85-
* For a per user breakdown of additional premium requests, click **{% data variables.product.prodname_copilot_short %} premium requests usage report**.
85+
* For a per user breakdown of premium requests for the last 45 days, click **{% data variables.product.prodname_copilot_short %} premium requests usage report**.
8686

87-
You can choose a pre-selected option or use the "Custom range" option to specify a date range of up to 31 days.
87+
>[!TIP] The premium request usage report includes all premium requests, both within and beyond the allowance. By contrast, the metered billing usage report only reflects costs for requests beyond the allowance.
8888
8989
## Viewing license usage
9090

content/billing/managing-your-billing/using-budgets-control-spending.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ As the owner of an enterprise or organization account, or as a billing manager,
132132
133133
You can edit or delete a budget at any time, but you cannot change the scope of a budget after creating it.
134134

135-
1. In the "Budgets and alerts" view, click **New budget**.
136-
1. Click **Budgets and alerts**.
137-
1. To edit a budget, in the list of budgets, click {% octicon "kebab-horizontal" aria-label="View actions" %} next to the budget you want to edit, and click **{% octicon "pencil" aria-hidden="true" aria-label="pencil" %} Edit** or **{% octicon "trash" aria-hidden="true" aria-label="trash" %} Delete**.
135+
1. Navigate to the "Budgets and alerts" view. See [Viewing budgets](#viewing-budgets).
136+
1. In the list of budgets, click {% octicon "kebab-horizontal" aria-label="View actions" %} next to the budget you want to edit, and click **{% octicon "pencil" aria-hidden="true" aria-label="pencil" %} Edit** or **{% octicon "trash" aria-hidden="true" aria-label="trash" %} Delete**.
138137
1. Follow the prompts.
Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
---
2+
title: Copilot code referencing
3+
shortTitle: Code referencing
4+
allowTitleToDifferFromFilename: true
5+
intro: '{% data variables.product.prodname_copilot %} checks suggestions for matches with publicly available code. Any matches are discarded or suggested with a code reference.'
6+
defaultTool: vscode
7+
topics:
8+
- Copilot
9+
versions:
10+
feature: copilot
11+
type: overview
12+
---
13+
14+
{% jetbrains %}
15+
16+
## About {% data variables.product.prodname_copilot_short %} code referencing in JetBrains IDEs
17+
18+
{% data reusables.copilot.about-code-referencing %}
19+
20+
### Code referencing for {% data variables.product.prodname_copilot_short %} code completion
21+
22+
{% data reusables.copilot.code-referencing-note %}
23+
24+
### Code referencing for {% data variables.copilot.copilot_chat_short %}
25+
26+
{% data reusables.copilot.code-referencing-in-chat %}
27+
28+
{% endjetbrains %}
29+
30+
{% vscode %}
31+
32+
## About {% data variables.product.prodname_copilot_short %} code referencing in {% data variables.product.prodname_vscode %}
33+
34+
{% data reusables.copilot.about-code-referencing %}
35+
36+
### Code referencing for {% data variables.product.prodname_copilot_short %} code completion
37+
38+
{% data reusables.copilot.code-referencing-note %}
39+
40+
### Code referencing for {% data variables.copilot.copilot_chat_short %}
41+
42+
{% data reusables.copilot.code-referencing-in-chat %}
43+
44+
{% endvscode %}
45+
46+
{% webui %}
47+
48+
## About {% data variables.product.prodname_copilot_short %} code referencing on {% data variables.product.prodname_dotcom_the_website %}
49+
50+
If you've allowed suggestions that match public code, then whenever a response from {% data variables.copilot.copilot_chat_short %} includes matching code, details of the matches will be included in the response.
51+
52+
> [!NOTE]
53+
> Typically, matches to public code occur infrequently, so you should not expect to see code references in many {% data variables.copilot.copilot_chat_short %} responses.
54+
55+
{% endwebui %}
56+
57+
{% visualstudio %}
58+
59+
## About {% data variables.product.prodname_copilot_short %} code referencing in {% data variables.product.prodname_vs %}
60+
61+
{% data reusables.copilot.about-code-referencing %}
62+
63+
### Code referencing for {% data variables.product.prodname_copilot_short %} code completion
64+
65+
{% data reusables.copilot.code-referencing-note %}
66+
67+
### Code referencing for {% data variables.copilot.copilot_chat_short %}
68+
69+
When {% data variables.copilot.copilot_chat_short %} provides a response that includes code that matches code in a public {% data variables.product.github %} repository, this is indicated below the suggested code, with a link to display details of the matched code in the output log.
70+
71+
{% endvisualstudio %}
72+
73+
## How code referencing finds matching code
74+
75+
{% data variables.product.prodname_copilot_short %} code referencing searches for matches by taking the code suggestion, plus some of the code that will surround the suggestion if it is accepted, and comparing it against an index of all public repositories on {% data variables.product.prodname_dotcom_the_website %}.
76+
77+
Code in private {% data variables.product.prodname_dotcom %} repositories, or code outside of {% data variables.product.prodname_dotcom %}, is not included in the search process.
78+
79+
The search index is refreshed every few months. As a result, newly committed code, and code from public repositories deleted before the index was created, may not be included in the search. For the same reason, the search may return matches to code that has been deleted or moved since the index was created.
80+
81+
## Limitations
82+
83+
References to matching code are currently available in JetBrains IDEs, {% data variables.product.prodname_vs %}, {% data variables.product.prodname_vscode %}, and on the {% data variables.product.github %} website.
84+
85+
## Further reading
86+
87+
* [AUTOTITLE](/copilot/how-tos/completions/finding-public-code-that-matches-github-copilot-suggestions)
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
---
2+
title: Copilot code suggestions in your IDE
3+
shortTitle: IDE code suggestions
4+
allowTitleToDifferFromFilename: true
5+
intro: Learn about {% data variables.product.prodname_copilot_short %} code suggestions in different IDEs.'
6+
versions:
7+
feature: copilot
8+
type: overview
9+
defaultTool: vscode
10+
topics:
11+
- Copilot
12+
---
13+
14+
{% vscode %}
15+
16+
## About code suggestions in {% data variables.product.prodname_vscode %}
17+
18+
{% data variables.product.prodname_copilot_short %} in {% data variables.product.prodname_vscode %} provides two kinds of code suggestions:
19+
20+
* **Code completion**
21+
* {% data variables.product.prodname_copilot_short %} offers coding suggestions as you type. You can also describe something you want to do using natural language within a comment, and {% data variables.product.prodname_copilot_short %} will suggest the code to accomplish your goal.
22+
* **{% data variables.copilot.next_edit_suggestions_caps %} ({% data variables.release-phases.public_preview %})**
23+
* Based on the edits you are making, {% data variables.product.prodname_copilot_short %} will predict the location of the next edit you are likely to make and suggest a completion for it. Suggestions may span a single symbol, an entire line, or multiple lines, depending on the scope of the potential change. To enable {% data variables.copilot.next_edit_suggestions %}, see [AUTOTITLE](/copilot/managing-copilot/configure-personal-settings/configuring-github-copilot-in-your-environment#enabling-next-edit-suggestions).
24+
25+
{% data reusables.copilot.supported-languages %}
26+
27+
{% endvscode %}
28+
29+
{% jetbrains %}
30+
31+
## About code suggestions in JetBrains IDEs
32+
33+
{% data variables.product.prodname_copilot_short %} offers code completion suggestions as you type.
34+
35+
{% data reusables.copilot.supported-languages %}
36+
37+
{% endjetbrains %}
38+
39+
{% visualstudio %}
40+
41+
## About code suggestions in {% data variables.product.prodname_vs %}
42+
43+
{% data variables.product.prodname_copilot_short %} in {% data variables.product.prodname_vs %} provides two kinds of code suggestions:
44+
45+
* **Code completion**
46+
* {% data variables.product.prodname_copilot_short %} offers coding suggestions as you type.
47+
* **{% data variables.copilot.next_edit_suggestions_caps %} ({% data variables.release-phases.public_preview %})**
48+
* Based on the edits you are making, {% data variables.product.prodname_copilot_short %} will predict the location of the next edit you are likely to make and suggest a completion for it. Suggestions may span a single symbol, an entire line, or multiple lines, depending on the scope of the potential change. To enable {% data variables.copilot.next_edit_suggestions %}, see [AUTOTITLE](/copilot/managing-copilot/configure-personal-settings/configuring-github-copilot-in-your-environment#enabling-next-edit-suggestions).
49+
50+
{% data reusables.copilot.supported-languages %}
51+
52+
{% endvisualstudio %}
53+
54+
{% vimneovim %}
55+
56+
## About code suggestions in Vim/Neovim
57+
58+
{% data variables.product.prodname_copilot %} provides code completion suggestions inline as you type in Vim/Neovim.
59+
60+
{% endvimneovim %}
61+
62+
{% azure_data_studio %}
63+
64+
## About code suggestions in Azure Data Studio
65+
66+
{% data variables.product.prodname_copilot %} provides you with inline suggestions as you create SQL databases in Azure Data Studio.
67+
68+
{% endazure_data_studio %}
69+
70+
{% xcode %}
71+
72+
## About code suggestions in Xcode
73+
74+
{% data variables.product.prodname_copilot %} offers code completion suggestions as you type.
75+
76+
{% endxcode %}
77+
78+
{% eclipse %}
79+
80+
## About code suggestions in Eclipse
81+
82+
{% data variables.product.prodname_copilot %} offers code completion suggestions as you type.
83+
84+
{% endeclipse %}
85+
86+
## Next steps
87+
88+
* [AUTOTITLE](/copilot/how-tos/completions/getting-code-suggestions-in-your-ide-with-github-copilot)
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: 'Completions for GitHub Copilot'
3+
shortTitle: Completions
4+
intro: 'Learn about code completions from {% data variables.product.prodname_copilot %}.'
5+
versions:
6+
feature: copilot
7+
topics:
8+
- Copilot
9+
children:
10+
- /code-suggestions
11+
- /text-completion
12+
- /code-referencing
13+
---
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: Copilot text completion
3+
shortTitle: Text completion
4+
allowTitleToDifferFromFilename: true
5+
intro: 'Learn about {% data variables.copilot.copilot_autocomplete_pr %}.'
6+
versions:
7+
feature: copilot-enterprise
8+
permissions: 'Members of an enterprise with a subscription to [{% data variables.copilot.copilot_enterprise %}](/copilot/github-copilot-enterprise/overview/about-github-copilot-enterprise)'
9+
topics:
10+
- Copilot
11+
---
12+
13+
{% data reusables.copilot.text-completion-preview %}
14+
15+
## About {% data variables.copilot.copilot_autocomplete_pr %}
16+
17+
With {% data variables.copilot.copilot_autocomplete_pr %}, you can use AI-generated autocompletions to help you write pull request descriptions quickly and accurately. Accurate descriptions help reviewers understand the changes you're proposing, and help you communicate the purpose of your pull request more effectively.
18+
19+
When you are creating a new pull request, {% data variables.copilot.copilot_autocomplete_pr %} will scan through the pull request and provide suggestions as you write, based on the context of the pull request.
20+
21+
## Next steps
22+
23+
* [AUTOTITLE](/copilot/how-tos/completions/using-copilot-text-completion)

content/copilot/concepts/copilot-billing/understanding-and-managing-requests-in-copilot.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,10 @@ If you're on a **paid plan** and use all of your premium requests, you can still
6767
If you need more premium requests beyond your monthly allowance, you can:
6868

6969
* Set a spending limit for additional premium requests. See [AUTOTITLE](/billing/managing-your-billing/using-budgets-control-spending).
70-
* Upgrade to a higher plan.
70+
* Upgrade your individual subscription to a higher plan.
71+
* If you're an enterprise owner, edit the default $0 budget or upgrade members to {% data variables.copilot.copilot_enterprise_short %}. See [AUTOTITLE](/copilot/how-tos/premium-requests/manage-for-enterprise).
7172

72-
These actions can be taken by organization owners, billing managers, and personal account users.
73+
These actions can be taken by enterprise owners, organization owners, billing managers, and personal account users.
7374

7475
> [!IMPORTANT] By default, all budgets are set to zero and premium requests over the allowance are rejected unless a budget has been created. Additional premium requests beyond your plan’s included amount are billed at {% data variables.copilot.additional_premium_requests %} per request.
7576

0 commit comments

Comments
 (0)