[2025-07-23] Customize the base branch when delegating a task to Copilot coding agent from the Agents page (#56761)
Co-authored-by: John Clement <70238417+jclement136@users.noreply.github.com>
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 35 KiB |
@@ -35,12 +35,15 @@ You can ask {% data variables.product.prodname_copilot_short %} to work on a tas
|
||||
You can also reach this page by clicking the **{% octicon "copilot" aria-label="Copilot icon" %}** button next to the search bar on any page on {% data variables.product.github %}, then selecting **Agents** from the sidebar.
|
||||
|
||||
1. Using the dropdown menu in the prompt field, select the repository you want {% data variables.product.prodname_copilot_short %} to work in.
|
||||
|
||||
1. Type a prompt describing your request.
|
||||
|
||||
For example, `Implement a user friendly message for common errors.`
|
||||
|
||||

|
||||
|
||||
1. Optionally, select a base branch for {% data variables.product.prodname_copilot_short %}'s pull request. {% data variables.product.prodname_copilot_short %} will create a new branch based on this branch, then push its changes to a pull request targeting that branch.
|
||||
|
||||
1. Click the **Send now** button or press <kbd>Return</kbd>.
|
||||
|
||||
{% 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.
|
||||
|
||||
@@ -35,8 +35,6 @@ You can see a list of your running and past agent sessions on the Agents page at
|
||||
|
||||
You can also reach this page by clicking the **{% octicon "copilot" aria-label="Copilot icon" %}** button next to the search bar on any page on {% data variables.product.github %}, then selecting **Agents** from the sidebar.
|
||||
|
||||

|
||||
|
||||
For each session listed below the prompt field, you can see its status at a glance, or click on it to navigate to the linked pull request.
|
||||
|
||||
To view the session logs, click through to the pull request in the list, then find the "{% data variables.product.prodname_copilot_short %} started work..." event in the timeline, and then click **View session**.
|
||||
|
||||
Reference in New Issue
Block a user