Skip to content

Commit ae8c7fe

Browse files
nhu-dohubwriter
andauthored
Clarify ability to ask CCA to use different base branches from Copilot Chat (#56288)
Co-authored-by: hubwriter <hubwriter@github.com>
1 parent 967b612 commit ae8c7fe

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

content/copilot/concepts/about-copilot-coding-agent.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ Users can include hidden messages in issues assigned to {% data variables.produc
102102
* **{% data variables.product.prodname_copilot_short %} can only access context in the same repository as the assigned issue**. By default, an integration with the {% data variables.product.prodname_copilot_short %} MCP server provides {% data variables.product.prodname_copilot_short %} access to one repository at a time. You can, however, configure broader access. See [AUTOTITLE](/copilot/using-github-copilot/coding-agent/extending-copilot-coding-agent-with-mcp).
103103
* **{% data variables.product.prodname_copilot_short %} can only open one pull request at a time**. {% data variables.product.prodname_copilot_short %} will open exactly one pull request to address each task it is assigned.
104104
* **{% data variables.product.prodname_copilot_short %} cannot work on an existing pull request that it didn't create**. If you would like {% data variables.product.prodname_copilot_short %} to provide feedback on an existing pull request, you can add it as a reviewer. See [AUTOTITLE](/copilot/using-github-copilot/code-review/using-copilot-code-review).
105-
* **{% data variables.product.prodname_copilot_short %} will always start its changes from the repository's default branch**. {% data variables.product.prodname_copilot_short %} cannot branch off from any other branch—for example, a feature branch or a release branch.
106105

107106
### Limitations in Copilot's compatibility with other features
108107

content/copilot/how-tos/agents/copilot-coding-agent/asking-copilot-to-create-a-pull-request.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ You can ask {% data variables.product.prodname_copilot_short %} to work on a tas
3636
For example, `Implement a user friendly message for common errors.`
3737

3838
![Screenshot of asking Copilot to create a pull request from the Agents page.](/assets/images/help/copilot/coding-agent/agents-page-input.png)
39-
39+
4040
1. Click the **Send now** button or press <kbd>Return</kbd>.
4141

4242
{% data variables.product.prodname_copilot_short %} will start a new session, which will appear in the list below the prompt box. {% data variables.product.prodname_copilot_short %} will work on the task and push changes to its pull request, then add you as a reviewer when it has finished, triggering a notification.
@@ -54,6 +54,10 @@ You can ask {% data variables.product.prodname_copilot_short %} to work on a tas
5454
> [!IMPORTANT]
5555
> {% data reusables.copilot.coding-agent.use-chat-participant-in-vsc %}
5656
57+
> [!TIP]
58+
> * To help {% data variables.product.prodname_copilot_short %}, you can select the relevant line(s) of code before submitting your prompt.
59+
> * From {% data variables.copilot.copilot_chat_short %}, you can ask {% data variables.product.prodname_copilot_short %} to open a pull request using a specific branch as the base branch by including it in your prompt.
60+
5761
1. Submit your prompt.
5862

5963
{% data variables.product.prodname_copilot_short %} asks you to confirm that you want to use the coding agent to create a pull request.

0 commit comments

Comments
 (0)