title | intro | redirect_from | permissions | versions | topics | shortTitle | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Allowing changes to a pull request branch created from a fork |
For greater collaboration, you can allow commits on branches you've created from forks owned by your personal account. |
|
People with push access to the upstream repository of a fork owned by a personal account can commit to the forked branches. |
|
|
Allow changes to a branch |
When a user creates a pull request from a fork that they own, the user generally has the authority to decide if other users can commit to the pull request's compare branch. If the pull request author wants greater collaboration, they can grant maintainers of the upstream repository (that is, anyone with push access to the upstream repository) permission to commit to the pull request's compare branch. To learn more about upstream repositories, see "AUTOTITLE."
Pull request authors can give these permissions when they initially create a pull request from a user-owned fork or after they create the pull request. For more information, see "AUTOTITLE."
You can set commit permissions when you first create a pull request from a fork. For more information, see "AUTOTITLE." Additionally, you can modify an existing pull request to let repository maintainers make commits to your branch.
-
On {% data variables.product.product_name %}, navigate to the main page of the upstream repository of your pull request.
-
Under the upstream repository name, click {% octicon "git-pull-request" aria-hidden="true" %} Pull requests. {% ifversion global-nav-update %}
{% else %}
{% endif %}
-
In the list of pull requests, navigate to the pull request that you'd like to allow commits on. {% data reusables.repositories.allow-maintainers-user-forks %}