1
0
mirror of synced 2025-12-30 12:02:01 -05:00
Files
docs/content/github/administering-a-repository/configuring-commit-rebasing-for-pull-requests.md
Jason Etcovitch caaee7a124 Update all files to use {% data %} (#15253)
* Add back changes from prior to purge

* Manually fix some invalid Liquid

* Updoot render-content

* Improve test messages to show correct output

* Run el scripto

* Pass the remaining test
2020-09-29 16:01:04 -04:00

17 lines
981 B
Markdown

---
title: Configuring commit rebasing for pull requests
intro: 'You can enforce, allow, or disable commit rebasing for all pull request merges on {% data variables.product.product_location %} in your repository.'
redirect_from:
- /articles/configuring-commit-rebasing-for-pull-requests
versions:
free-pro-team: '*'
enterprise-server: '*'
---
{% data reusables.pull_requests.configure_pull_request_merges_intro %}
{% data reusables.repositories.navigate-to-repo %}
{% data reusables.repositories.sidebar-settings %}
3. Under "Merge button", select **Allow rebase merging**. This allows contributors to merge a pull request by rebasing their individual commits onto the base branch. If you also select another merge method, collaborators will be able to choose the type of merge commit when merging a pull request. {% data reusables.repositories.squash-and-rebase-linear-commit-hisitory %}
![Pull request rebased commits](/assets/images/help/repository/pr-merge-rebase.png)