Thanks to visit codestin.com
Credit goes to github.com

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 content/copilot/concepts/agents/code-review.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ redirect_from:
- /copilot/concepts/code-review/code-review
- /copilot/concepts/code-review
contentType: concepts
category:
category:
- Learn about Copilot
---

Expand Down Expand Up @@ -69,7 +69,7 @@ If you receive {% data variables.product.prodname_copilot_short %} from an organ

## Code review monthly quota

Each time {% data variables.product.prodname_copilot_short %} reviews a pull request, or reviews files in your IDE that contain changes, your monthly quota of Copilot premium requests is reduced by one. Code review for currently selected text in {% data variables.product.prodname_vscode_shortname %} does not consume a premium request. For information about premium requests, see [AUTOTITLE](/copilot/managing-copilot/monitoring-usage-and-entitlements/about-premium-requests).
Each time {% data variables.product.prodname_copilot_short %} reviews a pull request, or reviews files in your IDE that contain uncommitted changes, your monthly quota of Copilot premium requests is reduced by one. Code review for currently selected text in {% data variables.product.prodname_vscode_shortname %} does not consume a premium request. For information about premium requests, see [AUTOTITLE](/copilot/managing-copilot/monitoring-usage-and-entitlements/about-premium-requests).

If a repository is configured to automatically request a code review from {% data variables.product.prodname_copilot_short %} for all new pull requests, the premium request usage is applied to the quota of the pull request author. If a pull request is created by {% data variables.product.prodname_actions %} or by a bot, the usage will apply to the user who triggered the workflow (if identifiable), or to a designated billing owner.

Expand Down
3 changes: 1 addition & 2 deletions content/copilot/concepts/billing/copilot-requests.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ The following {% data variables.product.prodname_copilot_short %} features can u

| Feature | Premium request consumption | SKU Attribution |
| ------- | ----------- | ----------- |
| [Agent mode in {% data variables.copilot.copilot_chat_short %}](/copilot/using-github-copilot/copilot-chat/asking-github-copilot-questions-in-your-ide#copilot-edits) | Agent mode uses **one premium request** per user prompt, multiplied by the model's rate. | {% data variables.product.prodname_copilot_short %} premium requests |
| [{% data variables.copilot.copilot_chat_short %}](/copilot/using-github-copilot/copilot-chat) | {% data variables.copilot.copilot_chat_short %} uses **one premium request** per user prompt, multiplied by the model's rate. | {% data variables.product.prodname_copilot_short %} premium requests |
| [{% data variables.copilot.copilot_chat_short %}](/copilot/using-github-copilot/copilot-chat) | {% data variables.copilot.copilot_chat_short %} uses **one premium request** per user prompt, multiplied by the model's rate. This includes edit, agent, and plan modes in {% data variables.copilot.copilot_chat_short %} in an IDE. | {% data variables.product.prodname_copilot_short %} premium requests |
| [{% data variables.copilot.copilot_cli_short %}](/copilot/concepts/agents/about-copilot-cli) | Each prompt to {% data variables.copilot.copilot_cli_short %} uses **one premium request** with the default model. For other models, this is multiplied by the model's rate. | {% data variables.product.prodname_copilot_short %} premium requests |
| [{% data variables.product.prodname_copilot_short %} code review](/copilot/using-github-copilot/code-review/using-copilot-code-review) | When you assign {% data variables.product.prodname_copilot_short %} as a reviewer for a pull request, **one premium request** is used each time {% data variables.product.prodname_copilot_short %} posts comments to the pull request. | {% data variables.product.prodname_copilot_short %} premium requests |
| [{% data variables.copilot.copilot_coding_agent %}](/copilot/concepts/about-copilot-coding-agent) | {% data variables.copilot.copilot_coding_agent %} uses **one premium request** per session, plus **one premium request** for each real-time steering comment made during an active session. A session begins when you ask {% data variables.product.prodname_copilot_short %} to create a pull request or make one or more changes to an existing pull request. | {% data variables.copilot.copilot_coding_agent %} premium requests |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ redirect_from:
- /copilot/how-tos/custom-instructions/adding-repository-custom-instructions-for-github-copilot
- /copilot/how-tos/custom-instructions/add-repository-instructions
- /copilot/how-tos/use-copilot-agents/request-a-code-review/configure-coding-guidelines
category:
category:
- Configure Copilot
---

Expand Down Expand Up @@ -266,9 +266,6 @@ Once saved, these instructions will apply to the current project in Eclipse that

## Creating repository-wide custom instructions

> [!NOTE]
> {% data reusables.copilot.custom-instructions-ccr-support %} See [AUTOTITLE](/copilot/how-tos/use-copilot-agents/request-a-code-review/use-code-review?tool=vscode).

1. In the root of your repository, create a file named `.github/copilot-instructions.md`.

Create the `.github` directory if it does not already exist.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ You can send the {% data variables.product.prodname_github_app %} direct message

You must have write access to the default repository – or the repository specified in your prompt – in order to trigger {% data variables.copilot.copilot_coding_agent %} to work. If you do not have write access to the relevant repository, you can still help guide {% data variables.product.prodname_copilot_short %} by providing input in the Slack thread, which will be used as context when {% data variables.copilot.copilot_coding_agent %} makes changes in the pull request.

Users can invoke {% data variables.copilot.copilot_coding_agent %} on any repository where they have `write` access. For enterprise-owned repositories, administrators must install and configure the [Slack {% data variables.product.prodname_github_app %}](https://github.com/organizations/github/settings/apps/slack?ref_product=copilot&ref_type=engagement&ref_style=text&ref_plan=enterprise&utm_source=docs-web-settings-apps-slack-copilot&utm_medium=docs&utm_campaign=universe25post) and specify which repositories the Slack app can access. For more information about configuring {% data variables.product.prodname_github_apps %}, see [AUTOTITLE](/apps/using-github-apps/installing-a-github-app-from-github-marketplace-for-your-organizations).
Users can invoke {% data variables.copilot.copilot_coding_agent %} on any repository where they have `write` access. For enterprise-owned repositories, administrators must install and configure the [Slack {% data variables.product.prodname_github_app %}](https://github.com/marketplace/slack-github?ref_product=copilot&ref_type=engagement&ref_style=text&ref_plan=enterprise&utm_source=docs-web-settings-apps-slack-copilot&utm_medium=docs&utm_campaign=universe25post) and specify which repositories the Slack app can access. For more information about configuring {% data variables.product.prodname_github_apps %}, see [AUTOTITLE](/apps/using-github-apps/installing-a-github-app-from-github-marketplace-for-your-organizations).

1. In Slack, open a direct message with the {% data variables.product.prodname_github_app %} or mention the app in a thread by typing `@{% data variables.product.prodname_copilot %}`.
1. Type your prompt, then send it. Optionally, you can specify a repository or branch using the following syntax:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ redirect_from:
- /copilot/how-tos/agents/copilot-code-review/use-code-review
- /copilot/how-tos/agents/request-a-code-review/use-code-review
contentType: how-tos
category:
category:
- Author and optimize with Copilot
---

Expand Down Expand Up @@ -97,17 +97,8 @@ By default, you manually request a review from {% data variables.product.prodnam
You can request an initial review of a highlighted selection of code in {% data variables.product.prodname_vscode %}.

1. In {% data variables.product.prodname_vscode %}, select the code you want to review.
1. Open the {% data variables.product.prodname_vscode_command_palette_shortname %}
* For Mac:
* Use: <kbd>Shift</kbd>+<kbd>Command</kbd>+<kbd>P</kbd>
* For Windows or Linux:
* Use <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd>
1. In the command palette, search for and select **{% data variables.product.prodname_copilot %}: Review and Comment**.

![Screenshot of the command palette in {% data variables.product.prodname_vscode %} with the **{% data variables.product.prodname_copilot %}: Review and Comment** command selected.](/assets/images/help/copilot/vsc-review-and-comment.png)

1. Wait for {% data variables.product.prodname_copilot_short %} to review your changes. This usually takes less than 30 seconds.
1. If {% data variables.product.prodname_copilot_short %} has any comments, they will be shown inline in your file, and in the **Problems** tab.
1. Right-click the selected code and choose **Generate Code** > **Review**.
1. {% data variables.product.prodname_vscode_shortname %} creates review comments in the **Comments** panel and also shows them inline in the editor.

### Reviewing all uncommitted changes

Expand Down Expand Up @@ -141,9 +132,6 @@ To provide feedback, hover over the comment and click the thumbs up or thumbs do

## Customizing {% data variables.product.prodname_copilot_short %}'s reviews with custom instructions

> [!NOTE]
> {% data reusables.copilot.custom-instructions-ccr-support %}

{% data reusables.copilot.code-review.custom-instructions-information %}

{% endvscode %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
---
title: About migrations from Azure DevOps to GitHub Enterprise Cloud
shortTitle: About migrations
intro: 'Learn which data {% data variables.product.prodname_importer_proper_name %} can migrate.'
intro: Learn which data {% data variables.product.prodname_importer_proper_name %} can migrate.
versions:
fpt: '*'
ghes: '*'
ghec: '*'
redirect_from:
- /migrations/using-github-enterprise-importer/migrating-from-azure-devops-to-github-enterprise-cloud/about-migrations-from-azure-devops-to-github-enterprise-cloud
contentType: other
---

## About migrations from Azure DevOps
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Migrating from Azure DevOps to GitHub Enterprise Cloud
shortTitle: Migrate from Azure DevOps
intro: 'You can migrate repositories to {% data variables.product.prodname_dotcom %} with {% data variables.product.prodname_importer_proper_name %}.'
intro: You can migrate repositories to {% data variables.product.prodname_dotcom %} with {% data variables.product.prodname_importer_proper_name %}.
versions:
fpt: '*'
ghes: '*'
Expand All @@ -11,5 +11,8 @@ children:
- /overview-of-a-migration-from-azure-devops-to-github-enterprise-cloud
- /managing-access-for-a-migration-from-azure-devops
- /migrating-repositories-from-azure-devops-to-github-enterprise-cloud
redirect_from:
- /migrations/using-github-enterprise-importer/migrating-from-azure-devops-to-github-enterprise-cloud
contentType: other
---

Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
---
title: Managing access for a migration from Azure DevOps
shortTitle: Manage access
intro: 'Before you use {% data variables.product.prodname_importer_proper_name %}, make sure you have appropriate access to both the source and destination of your migration.'
intro: Before you use {% data variables.product.prodname_importer_proper_name %}, make sure you have appropriate access to both the source and destination of your migration.
versions:
fpt: '*'
ghes: '*'
ghec: '*'
redirect_from:
- /migrations/using-github-enterprise-importer/migrating-from-azure-devops-to-github-enterprise-cloud/managing-access-for-a-migration-from-azure-devops
contentType: other
---

## About required access for {% data variables.product.prodname_importer_proper_name %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Migrating repositories from Azure DevOps to GitHub Enterprise Cloud
shortTitle: Migrate repositories
intro: 'You can migrate repositories from Azure DevOps to {% data variables.product.prodname_ghe_cloud %}, using the {% data variables.product.prodname_cli %} or the GraphQL API.'
intro: You can migrate repositories from Azure DevOps to {% data variables.product.prodname_ghe_cloud %}, using the {% data variables.product.prodname_cli %} or the GraphQL API.
versions:
fpt: '*'
ghes: '*'
Expand All @@ -11,6 +11,8 @@ redirect_from:
- /early-access/enterprise-importer/migrating-repositories-with-github-enterprise-importer/migrating-repositories-to-github-enterprise-cloud/migrating-repositories-from-azure-devops-to-github-enterprise-cloud
- /early-access/enterprise-importer/migrating-repositories-with-github-enterprise-importer/migrating-repositories-from-azure-devops-to-github-enterprise-cloud
- /migrations/using-github-enterprise-importer/migrating-repositories-with-github-enterprise-importer/migrating-repositories-from-azure-devops-to-github-enterprise-cloud
- /migrations/using-github-enterprise-importer/migrating-from-azure-devops-to-github-enterprise-cloud/migrating-repositories-from-azure-devops-to-github-enterprise-cloud
contentType: other
---

## About repository migrations with {% data variables.product.prodname_importer_proper_name %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Overview of a migration from Azure DevOps to GitHub Enterprise Cloud
shortTitle: Overview of a migration
intro: 'Learn how to complete the entire process of migrating from Azure DevOps to {% data variables.product.prodname_dotcom %} with {% data variables.product.prodname_importer_proper_name %}, from planning to implementation to completing follow-up tasks.'
intro: Learn how to complete the entire process of migrating from Azure DevOps to {% data variables.product.prodname_dotcom %} with {% data variables.product.prodname_importer_proper_name %}, from planning to implementation to completing follow-up tasks.
versions:
fpt: '*'
ghes: '*'
Expand All @@ -10,6 +10,8 @@ redirect_from:
- /early-access/github/migrating-with-github-enterprise-importer/understanding-github-enterprise-importer/migrating-from-azure-devops-with-github-enterprise-importer
- /early-access/enterprise-importer/understanding-github-enterprise-importer/migrating-from-azure-devops-with-github-enterprise-importer
- /migrations/using-github-enterprise-importer/understanding-github-enterprise-importer/migrating-from-azure-devops-with-github-enterprise-importer
- /migrations/using-github-enterprise-importer/migrating-from-azure-devops-to-github-enterprise-cloud/overview-of-a-migration-from-azure-devops-to-github-enterprise-cloud
contentType: other
---

## Overview
Expand Down
4 changes: 3 additions & 1 deletion content/migrations/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Migrations documentation
shortTitle: Migrations
intro: 'If you''re moving to {% data variables.product.prodname_dotcom %} from another code hosting platform or moving between {% data variables.product.prodname_dotcom %} products, learn how to use our migration tooling to bring your work with you.'
intro: If you're moving to {% data variables.product.prodname_dotcom %} from another code hosting platform or moving between {% data variables.product.prodname_dotcom %} products, learn how to use our migration tooling to bring your work with you.
introLinks:
overview: /migrations/overview/about-githubs-migration-tooling
plan_your_migration: /migrations/overview/planning-your-migration-to-github
Expand Down Expand Up @@ -30,7 +30,9 @@ topics:
- Repositories
children:
- /overview
- /ado
- /importing-source-code
- /using-github-enterprise-importer
- /using-ghe-migrator
---

4 changes: 2 additions & 2 deletions content/migrations/using-github-enterprise-importer/index.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
---
title: Using GitHub Enterprise Importer
shortTitle: GitHub Enterprise Importer
intro: 'You can migrate your enterprise to {% data variables.product.prodname_ghe_cloud %} with {% data variables.product.prodname_importer_proper_name %}.'
intro: You can migrate your enterprise to {% data variables.product.prodname_ghe_cloud %} with {% data variables.product.prodname_importer_proper_name %}.
versions:
fpt: '*'
ghes: '*'
ghec: '*'
children:
- /understanding-github-enterprise-importer
- /migrating-from-azure-devops-to-github-enterprise-cloud
- /migrating-from-bitbucket-server-to-github-enterprise-cloud
- /migrating-between-github-products
- /completing-your-migration-with-github-enterprise-importer
Expand All @@ -21,3 +20,4 @@ redirect_from:
- /early-access/enterprise-importer/migrating-repositories-with-github-enterprise-importer/migrating-repositories-to-github-ae
- /early-access/enterprise-importer
---

1 change: 0 additions & 1 deletion data/reusables/copilot/custom-instructions-ccr-support.md

This file was deleted.