2.9 KiB
title, intro, redirect_from, permissions, versions, topics, shortTitle
| title | intro | redirect_from | permissions | versions | topics | shortTitle | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Creating a pull request from a fork | You can create a pull request to propose changes you've made to a fork of an upstream repository. |
|
Anyone with write access to a repository can create a pull request from a user-owned fork. {% data reusables.enterprise-accounts.emu-permission-propose %} |
|
|
Create a PR from a fork |
If your pull request compares your topic branch with a branch in the upstream repository as the base branch, then your topic branch is also called the compare branch of the pull request. For more information about pull request branches, including examples, see "AUTOTITLE."
{% data reusables.pull_requests.perms-to-open-pull-request %}
-
Navigate to the original repository where you created your fork. {% data reusables.repositories.new-pull-request %}
-
On the page to create a new pull request, click compare across forks.
-
In the "base branch" dropdown menu, select the branch of the upstream repository you'd like to merge changes into.
-
In the "head fork" dropdown menu, select your fork, then use the "compare branch" drop-down menu to select the branch you made your changes in.
{% data reusables.repositories.pr-title-description %} {% data reusables.repositories.allow-maintainers-user-forks %}
{% data reusables.repositories.create-pull-request %}
{% data reusables.repositories.asking-for-review %}


