Skip to content

Commit 0718f54

Browse files
authored
Merge pull request #39779 from github/repo-sync
Repo sync
2 parents 86df5ca + f8e1c52 commit 0718f54

File tree

23 files changed

+204
-65
lines changed

23 files changed

+204
-65
lines changed

content/authentication/troubleshooting-ssh/using-ssh-over-the-https-port.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ shortTitle: Use SSH over HTTPS port
1414
---
1515

1616
> [!WARNING]
17-
> **{% data variables.product.prodname_ghe_server %} users:** Accessing {% data variables.product.prodname_ghe_server %} via SSH over the HTTPS port is currently not supported.
17+
> **{% data variables.product.prodname_ghe_server %} users:** Accessing {% data variables.product.prodname_ghe_server %} via SSH over the HTTPS port is currently not supported.
18+
> **{% data variables.enterprise.data_residency %} users:** Accessing {% data variables.enterprise.data_residency %} via SSH over the HTTPS port is currently not supported.
1819
1920
To test if SSH over the HTTPS port is possible, run this SSH command:
2021

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

2930
> [!NOTE] The hostname for port 443 is `ssh.{% data variables.product.product_url %}`, not `{% data variables.product.product_url %}`.
30-
> {% ifversion ghec %}
31-
> {% data reusables.enterprise-data-residency.access-domain %}
32-
{% endif %}
3331
3432
Now, to clone the repository, you can run the following command:
3533

content/copilot/concepts/response-customization.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ contentType: concepts
4040
> [!NOTE] This version of this article is about custom instructions in Xcode. Click the tabs above for other environments. <!-- markdownlint-disable-line MD027 -->
4141
{% endxcode %}
4242

43+
{% eclipse %}
44+
45+
> [!NOTE] This version of this article is about custom instructions in Eclipse. Click the tabs above for other environments. <!-- markdownlint-disable-line MD027 -->
46+
{% endeclipse %}
47+
4348
## About customizing {% data variables.copilot.copilot_chat %} responses
4449

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

96101
{% endxcode %}
97102

103+
{% eclipse %}
104+
105+
{% 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.
106+
107+
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:
108+
109+
* **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.
110+
* **Project custom instructions** which apply to a specific project.
111+
112+
{% endeclipse %}
113+
98114
{% webui %}
99115

100116
## Using custom instructions
@@ -243,6 +259,26 @@ Common use cases include:
243259

244260
{% endxcode %}
245261

262+
{% eclipse %}
263+
264+
## About repository custom instructions
265+
266+
**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.
267+
268+
**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.
269+
270+
Common use cases include:
271+
272+
* **Test generation.** Create instructions for test generation, such as specifying the use of a certain test framework.
273+
* **Code review.** Specify instructions for reviewing code, such as telling a reviewer to look for a specific error in the code.
274+
* **Commit message generation.** Write instructions for generating commit messages, such as format or the type of information to include.
275+
276+
### Example
277+
278+
{% data reusables.copilot.repository-custom-instructions-example %}
279+
280+
{% endeclipse %}
281+
246282
## Writing effective custom instructions
247283

248284
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.
@@ -292,3 +328,15 @@ Answer all questions in less than 1000 characters, and words of no more than 12
292328
* [AUTOTITLE](/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot)
293329

294330
{% endjetbrains %}
331+
332+
{% xcode %}
333+
334+
* [AUTOTITLE](/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot)
335+
336+
{% endxcode %}
337+
338+
{% eclipse %}
339+
340+
* [AUTOTITLE](/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot)
341+
342+
{% endeclipse %}

content/copilot/how-tos/configure-custom-instructions/add-repository-instructions.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,14 @@ This version of this article is for using repository custom instructions in Xcod
4444

4545
{% endxcode %}
4646

47+
{% eclipse %}
48+
49+
> [!NOTE] This feature is currently in {% data variables.release-phases.public_preview %} and is subject to change.
50+
51+
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.
52+
53+
{% endeclipse %}
54+
4755
## About repository custom instructions for {% data variables.product.prodname_copilot_short %}
4856

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

8593
{% endxcode %}
8694

95+
{% eclipse %}
96+
97+
* The latest version of the {% data variables.product.prodname_copilot_short %} extension must be installed in Eclipse.
98+
99+
{% endeclipse %}
100+
87101
## Creating a repository custom instructions file
88102

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

144158
{% endxcode %}
145159

160+
{% eclipse %}
161+
162+
Eclipse supports two types of repository custom instructions: workspace and project custom instructions.
163+
164+
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.
165+
166+
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.
167+
168+
### Creating a workspace custom instructions file
169+
170+
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.
171+
1. From the menu, select "Edit preferences".
172+
1. In the left pane, expand {% data variables.product.prodname_copilot %} and click **Custom Instructions**.
173+
1. Select **Enable workspace instructions**.
174+
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.
175+
176+
### Creating a project custom instructions file
177+
178+
1. In the root of your project directory, create a file named `.github/copilot-instructions.md`.
179+
1. Add your custom instructions in natural language, using Markdown format.
180+
181+
Once saved, these instructions will apply to the current project in Eclipse that you open with {% data variables.product.prodname_copilot_short %} enabled.
182+
183+
{% endeclipse %}
184+
146185
{% vscode %}
147186

148187
{% data variables.product.prodname_vscode_shortname %} supports either:
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
---
2+
title: Extracting information
3+
shortTitle: Extract information
4+
intro: Copilot Chat in GitHub can help you extract key information from issues and discussions.
5+
versions:
6+
feature: copilot
7+
complexity:
8+
- Simple
9+
octicon: copilot
10+
topics:
11+
- Copilot
12+
contentType: tutorials
13+
---
14+
15+
{% 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.
16+
17+
## Example scenario 1
18+
19+
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.
20+
21+
## Example prompt
22+
23+
`Can you summarize the key points and action items from this discussion?`
24+
25+
## Example response
26+
27+
{% data reusables.copilot.example-prompts.response-is-an-example %}
28+
29+
````text
30+
Key Points:
31+
- The feature request aims to improve the user interface for better accessibility.
32+
- There are concerns about the impact on existing users and workflows.
33+
- Action items include gathering feedback from users and conducting usability testing.
34+
Action Items:
35+
- [ ] Gather feedback from users by the end of the week.
36+
- [ ] Conduct usability testing with a focus group next month.
37+
````
38+
39+
## Example scenario 2
40+
41+
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.
42+
43+
## Example prompt
44+
45+
`Can you list the open issues assigned to me, along with their deadlines and priorities?`
46+
47+
## Example response
48+
49+
{% data reusables.copilot.example-prompts.response-is-an-example %}
50+
51+
````text
52+
Issue 1:
53+
- Deadline: Next Friday
54+
- Priority: High
55+
56+
Issue 2:
57+
- Deadline: End of the month
58+
- Priority: Medium
59+
60+
Issue 3:
61+
- Deadline: No specific deadline
62+
- Priority: Low
63+
````
64+
65+
## Further reading
66+
67+
{% data reusables.copilot.example-prompts.further-reading-items %}

content/copilot/tutorials/copilot-chat-cookbook/communicate-effectively/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ topics:
77
- Copilot
88
children:
99
- /creating-diagrams
10+
- /extracting-information
1011
contentType: tutorials
1112
---

data/release-notes/enterprise-server/3-14/16.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,7 @@ sections:
4343
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.
4444
- |
4545
Unexpected elements may appear in the UI on the repo overview page for locked repositories.
46+
- |
47+
The autolink references feature is missing from the repository settings page.
48+
- |
49+
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]

data/release-notes/enterprise-server/3-15/11.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,7 @@ sections:
6060
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.
6161
- |
6262
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.
63+
- |
64+
The autolink references feature is missing from the repository settings page.
65+
- |
66+
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]

data/release-notes/enterprise-server/3-16/7.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,7 @@ sections:
7474
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.
7575
- |
7676
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.
77+
- |
78+
The autolink references feature is missing from the repository settings page.
79+
- |
80+
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]

data/release-notes/enterprise-server/3-17/4.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,7 @@ sections:
7070
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.
7171
- |
7272
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.
73+
- |
74+
The autolink references feature is missing from the repository settings page.
75+
- |
76+
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]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Repository custom instructions are currently supported for:
22
* **{% data variables.copilot.copilot_chat_short %}** in {% data variables.product.prodname_vscode_shortname %}
33
* **{% data variables.copilot.copilot_coding_agent %}**
4-
* **{% 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)
4+
* **{% 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)
55
* **{% data variables.copilot.copilot_code-review_short %}** (`copilot-instructions.md` file only)

0 commit comments

Comments
 (0)