1
0
mirror of synced 2025-12-26 05:02:55 -05:00
Files
docs/content/github/administering-a-repository/configuring-commit-rebasing-for-pull-requests.md
2020-11-02 15:12:44 -06:00

18 lines
998 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: '*'
github-ae: '*'
---
{% 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)