1
0
mirror of synced 2025-12-20 18:36:31 -05:00
Files
docs/content/copilot/how-tos/use-copilot-agents/coding-agent/make-changes-to-an-existing-pr.md
2025-11-19 23:55:02 +00:00

2.6 KiB

title, shortTitle, allowTitleToDifferFromFilename, intro, product, versions, topics, contentType
title shortTitle allowTitleToDifferFromFilename intro product versions topics contentType
Asking GitHub Copilot to make changes to an existing pull request Update existing PR true You can ask {% data variables.product.prodname_copilot_short %} to make changes to an existing pull request created by a human by mentioning `@copilot`. {% data reusables.gated-features.copilot-coding-agent %}<br><a href="https://github.com/features/copilot/plans?ref_product=copilot&ref_type=engagement&ref_style=button" target="_blank" class="btn btn-primary mt-3 mr-3 no-underline"><span>Sign up for {% data variables.product.prodname_copilot_short %}</span> {% octicon "link-external" height:16 %}</a>
feature
copilot
Copilot
how-tos

Note

For an overview of {% data variables.copilot.copilot_coding_agent %}, see AUTOTITLE.

Introduction

You can ask {% data variables.product.prodname_copilot_short %} to make changes to an existing pull request created by a human developer.

{% data variables.product.prodname_copilot_short %} will create a child pull request, using the existing pull request's branch as the base branch. Once it has finished work on the changes you requested, it requests your review on the child pull request.

You maintain control of the original pull request: until you accept Copilot's proposed changes by merging its child pull request into your branch, the pull request will remain untouched.

You can ask {% data variables.product.prodname_copilot_short %} to make changes to its child pull request by leaving a review. See AUTOTITLE.

Asking {% data variables.product.prodname_copilot_short %} to make changes

  1. Navigate to the pull request that you want {% data variables.product.prodname_copilot_short %} to make changes to.
  2. Leave a comment or review mentioning {% data variables.product.prodname_copilot_short %} with @copilot.

{% data variables.product.prodname_copilot_short %} will open a child pull request, using the existing pull request's branch as the base branch.

{% data variables.product.prodname_copilot_short %} will leave a comment linking to the new pull request. Once the agent finishes work, it will request a review from you.

{% data reusables.copilot.coding-agent.monitoring-progress-heading %}

Further reading