Skip to content

Latest commit

 

History

History
22 lines (20 loc) · 1.13 KB

File metadata and controls

22 lines (20 loc) · 1.13 KB
title intro redirect_from versions topics shortTitle
Configuring commit rebasing for pull requests
You can enforce, allow, or disable commit rebasing for all pull request merges on {% data variables.location.product_location %} in your repository.
/articles/configuring-commit-rebasing-for-pull-requests
/github/administering-a-repository/configuring-commit-rebasing-for-pull-requests
/github/administering-a-repository/configuring-pull-request-merges/configuring-commit-rebasing-for-pull-requests
fpt ghes ghec
*
*
*
Repositories
Configure commit rebasing

{% data reusables.pull_requests.configure_pull_request_merges_intro %}

{% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %}

  1. Under "Pull Requests", 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-history %}