Skip to content

Repo sync #39779

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Aug 11, 2025
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
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ shortTitle: Use SSH over HTTPS port
---

> [!WARNING]
> **{% data variables.product.prodname_ghe_server %} users:** Accessing {% data variables.product.prodname_ghe_server %} via SSH over the HTTPS port is currently not supported.
> **{% data variables.product.prodname_ghe_server %} users:** Accessing {% data variables.product.prodname_ghe_server %} via SSH over the HTTPS port is currently not supported.
> **{% data variables.enterprise.data_residency %} users:** Accessing {% data variables.enterprise.data_residency %} via SSH over the HTTPS port is currently not supported.

To test if SSH over the HTTPS port is possible, run this SSH command:

Expand All @@ -27,9 +28,6 @@ $ ssh -T -p 443 git@ssh.github.com
If that worked, great! If not, you may need to [follow our troubleshooting guide](/authentication/troubleshooting-ssh/error-permission-denied-publickey).

> [!NOTE] The hostname for port 443 is `ssh.{% data variables.product.product_url %}`, not `{% data variables.product.product_url %}`.
> {% ifversion ghec %}
> {% data reusables.enterprise-data-residency.access-domain %}
{% endif %}

Now, to clone the repository, you can run the following command:

Expand Down
48 changes: 48 additions & 0 deletions content/copilot/concepts/response-customization.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ contentType: concepts
> [!NOTE] This version of this article is about custom instructions in Xcode. Click the tabs above for other environments. <!-- markdownlint-disable-line MD027 -->
{% endxcode %}

{% eclipse %}

> [!NOTE] This version of this article is about custom instructions in Eclipse. Click the tabs above for other environments. <!-- markdownlint-disable-line MD027 -->
{% endeclipse %}

## About customizing {% data variables.copilot.copilot_chat %} responses

{% webui %}
Expand Down Expand Up @@ -95,6 +100,17 @@ While custom instructions help to add codebase-wide context to each AI workflow,

{% endxcode %}

{% eclipse %}

{% data variables.product.prodname_copilot %} can provide chat responses that are tailored to the way your team works, the tools you use, or the specifics of your project, if you provide it with enough context to do so. Instead of repeatedly adding this contextual detail to your chat questions, you can create a custom instructions file in your repository that automatically adds this information for you. The additional information is not displayed in the chat, but is available to {% data variables.product.prodname_copilot_short %} to allow it to generate higher quality responses.

There are two types of repository custom instructions you can use to provide context and instructions to {% data variables.copilot.copilot_chat_short %} in Eclipse:

* **Workspace custom instructions** which apply to all projects in a workspace, and allow you to specify workspace-wide instructions and preferences, in a single file.
* **Project custom instructions** which apply to a specific project.

{% endeclipse %}

{% webui %}

## Using custom instructions
Expand Down Expand Up @@ -243,6 +259,26 @@ Common use cases include:

{% endxcode %}

{% eclipse %}

## About repository custom instructions

**Workspace custom instructions** apply to all projects in a workspace, and allow you to specify workspace-wide instructions and preferences. You can use workspace custom instructions to provide context and instructions to {% data variables.copilot.copilot_chat_short %} in Eclipse.

**Project custom instructions** consist of a single file, `.github/copilot-instructions.md`, that you create in a project. The instructions you add to the file should be short, self-contained statements that add context or relevant information to supplement chat questions.

Common use cases include:

* **Test generation.** Create instructions for test generation, such as specifying the use of a certain test framework.
* **Code review.** Specify instructions for reviewing code, such as telling a reviewer to look for a specific error in the code.
* **Commit message generation.** Write instructions for generating commit messages, such as format or the type of information to include.

### Example

{% data reusables.copilot.repository-custom-instructions-example %}

{% endeclipse %}

## Writing effective custom instructions

The instructions you add should ideally be short, self-contained statements provide {% data variables.product.prodname_copilot_short %} with relevant information to help it work.
Expand Down Expand Up @@ -292,3 +328,15 @@ Answer all questions in less than 1000 characters, and words of no more than 12
* [AUTOTITLE](/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot)

{% endjetbrains %}

{% xcode %}

* [AUTOTITLE](/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot)

{% endxcode %}

{% eclipse %}

* [AUTOTITLE](/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot)

{% endeclipse %}
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,14 @@ This version of this article is for using repository custom instructions in Xcod

{% endxcode %}

{% eclipse %}

> [!NOTE] This feature is currently in {% data variables.release-phases.public_preview %} and is subject to change.

This version of this article is for using repository custom instructions in Eclipse. Click the tabs above for instructions on using custom instructions in other environments.

{% endeclipse %}

## About repository custom instructions for {% data variables.product.prodname_copilot_short %}

Repository custom instructions let you provide {% data variables.product.prodname_copilot_short %} with repository-specific guidance and preferences.
Expand Down Expand Up @@ -84,6 +92,12 @@ Repository custom instructions let you provide {% data variables.product.prodnam

{% endxcode %}

{% eclipse %}

* The latest version of the {% data variables.product.prodname_copilot_short %} extension must be installed in Eclipse.

{% endeclipse %}

## Creating a repository custom instructions file

{% jetbrains %}
Expand Down Expand Up @@ -143,6 +157,31 @@ Whitespace between instructions is ignored, so the instructions can be written a

{% endxcode %}

{% eclipse %}

Eclipse supports two types of repository custom instructions: workspace and project custom instructions.

To create a workspace custom instructions file, you can use the {% data variables.product.prodname_copilot_short %} settings page. To create a project custom instructions file, you can create the file manually in the project directory.

Whitespace between instructions is ignored, so the instructions can be written as a single paragraph, each on a new line, or separated by blank lines for legibility.

### Creating a workspace custom instructions file

1. To open the {% data variables.copilot.copilot_chat_short %} panel, click the {% data variables.product.prodname_copilot_short %} icon ({% octicon "copilot" aria-hidden="true" aria-label="copilot" %}) in the status bar at the bottom of Eclipse.
1. From the menu, select "Edit preferences".
1. In the left pane, expand {% data variables.product.prodname_copilot %} and click **Custom Instructions**.
1. Select **Enable workspace instructions**.
1. In the "Workspace" section, under "Set custom instructions to guide {% data variables.product.prodname_copilot_short %}'s code suggestions in this workspace", add natural language instructions to the file, in Markdown format.

### Creating a project custom instructions file

1. In the root of your project directory, create a file named `.github/copilot-instructions.md`.
1. Add your custom instructions in natural language, using Markdown format.

Once saved, these instructions will apply to the current project in Eclipse that you open with {% data variables.product.prodname_copilot_short %} enabled.

{% endeclipse %}

{% vscode %}

{% data variables.product.prodname_vscode_shortname %} supports either:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
---
title: Extracting information
shortTitle: Extract information
intro: Copilot Chat in GitHub can help you extract key information from issues and discussions.
versions:
feature: copilot
complexity:
- Simple
octicon: copilot
topics:
- Copilot
contentType: tutorials
---

{% data variables.copilot.copilot_chat %} can help you extract key information from issues and discussions, making it easier to summarize and understand the content. You can ask {% data variables.copilot.copilot_chat_short %} to identify important details, such as action items, deadlines, or specific requests.

## Example scenario 1

You are reviewing a long discussion thread about a feature request. You want to quickly identify the main points and any action items that need to be addressed.

## Example prompt

`Can you summarize the key points and action items from this discussion?`

## Example response

{% data reusables.copilot.example-prompts.response-is-an-example %}

````text
Key Points:
- The feature request aims to improve the user interface for better accessibility.
- There are concerns about the impact on existing users and workflows.
- Action items include gathering feedback from users and conducting usability testing.
Action Items:
- [ ] Gather feedback from users by the end of the week.
- [ ] Conduct usability testing with a focus group next month.
````

## Example scenario 2

You have a number of open issues assigned to you, and you want to extract the deadlines and priorities for each issue to help you prioritize your work.

## Example prompt

`Can you list the open issues assigned to me, along with their deadlines and priorities?`

## Example response

{% data reusables.copilot.example-prompts.response-is-an-example %}

````text
Issue 1:
- Deadline: Next Friday
- Priority: High

Issue 2:
- Deadline: End of the month
- Priority: Medium

Issue 3:
- Deadline: No specific deadline
- Priority: Low
````

## Further reading

{% data reusables.copilot.example-prompts.further-reading-items %}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ topics:
- Copilot
children:
- /creating-diagrams
- /extracting-information
contentType: tutorials
---
4 changes: 4 additions & 0 deletions data/release-notes/enterprise-server/3-14/16.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,7 @@ sections:
After a geo-replica is promoted to be a primary by running `ghe-repl-promote`, the actions workflow of a repository does not have any suggested workflows.
- |
Unexpected elements may appear in the UI on the repo overview page for locked repositories.
- |
The autolink references feature is missing from the repository settings page.
- |
When attempting to open a pull request as a draft in a private or internal repository, users are incorrectly prompted to upgrade their plan.[Updated: 2025-08-11]
4 changes: 4 additions & 0 deletions data/release-notes/enterprise-server/3-15/11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,7 @@ sections:
Admins setting up cluster high availability (HA) may encounter a spokes error when running `ghe-cluster-repl-status` if a new organization and repositories are created before using the `ghe-cluster-repl-bootstrap` command. To avoid this issue, complete the cluster HA setup with `ghe-cluster-repl-bootstrap` before creating new organizations and repositories.
- |
After a restore, existing outside collaborators cannot be added to repositories in a new organization. This issue can be resolved by running `/usr/local/share/enterprise/ghe-es-search-repair` on the appliance.
- |
The autolink references feature is missing from the repository settings page.
- |
When attempting to open a pull request as a draft in a private or internal repository, users are incorrectly prompted to upgrade their plan.[Updated: 2025-08-11]
4 changes: 4 additions & 0 deletions data/release-notes/enterprise-server/3-16/7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,7 @@ sections:
After a geo-replica is promoted to be a primary by running `ghe-repl-promote`, the actions workflow of a repository does not have any suggested workflows.
- |
Customers operating at high scale or near capacity may experience unexpected performance degradation, such as slow response times, background job queue spikes, elevated CPU usage, and increased MySQL load. Consider upgrading to {% ifversion ghes = 3.16 %}3.16{% endif %} {% ifversion ghes = 3.17 %}3.17{% endif %} with caution.
- |
The autolink references feature is missing from the repository settings page.
- |
When attempting to open a pull request as a draft in a private or internal repository, users are incorrectly prompted to upgrade their plan.[Updated: 2025-08-11]
4 changes: 4 additions & 0 deletions data/release-notes/enterprise-server/3-17/4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,7 @@ sections:
When publishing npm packages in a workflow after restoring from a backup to GitHub Enterprise Server 3.13.5.gm4 or 3.14.2.gm3, you may encounter a `401 Unauthorized` error from the GitHub Packages service. This can happen if the restore is from an N-1 or N-2 version and the workflow targets the npm endpoint on the backup instance. To avoid this issue, ensure the access token is valid and includes the correct scopes for publishing to GitHub Packages.
- |
Customers operating at high scale or near capacity may experience unexpected performance degradation, such as slow response times, background job queue spikes, elevated CPU usage, and increased MySQL load. Consider upgrading to {% ifversion ghes = 3.16 %}3.16{% endif %} {% ifversion ghes = 3.17 %}3.17{% endif %} with caution.
- |
The autolink references feature is missing from the repository settings page.
- |
When attempting to open a pull request as a draft in a private or internal repository, users are incorrectly prompted to upgrade their plan.[Updated: 2025-08-11]
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Repository custom instructions are currently supported for:
* **{% data variables.copilot.copilot_chat_short %}** in {% data variables.product.prodname_vscode_shortname %}
* **{% data variables.copilot.copilot_coding_agent %}**
* **{% data variables.copilot.copilot_chat_short %}** in {% data variables.product.prodname_vs %}, JetBrains IDEs, Xcode, and on the {% data variables.product.github %} website (`copilot-instructions.md` file only)
* **{% data variables.copilot.copilot_chat_short %}** in {% data variables.product.prodname_vs %}, JetBrains IDEs, Xcode, Eclipse, and on the {% data variables.product.github %} website (`copilot-instructions.md` file only)
* **{% data variables.copilot.copilot_code-review_short %}** (`copilot-instructions.md` file only)
2 changes: 1 addition & 1 deletion next.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import fs from 'fs'
import path from 'path'

import frontmatter from 'gray-matter'
import frontmatter from '@gr2m/gray-matter'
import { getLogLevelNumber } from '#src/observability/logger/lib/log-levels.js'

// Replace imports with hardcoded values
Expand Down
63 changes: 16 additions & 47 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@
"github-slugger": "^2.0.0",
"glob": "11.0.2",
"got": "^14.4.7",
"gray-matter": "^4.0.3",
"@gr2m/gray-matter": "4.0.3-with-pr-137",
"hast-util-from-parse5": "^8.0.3",
"hast-util-to-string": "^3.0.1",
"hastscript": "^9.0.1",
Expand Down
Loading
Loading