Skip to main content

このバージョンの GitHub Enterprise はこの日付をもって終了となりました: 2022-10-12. 重大なセキュリティの問題に対してであっても、パッチリリースは作成されません。 パフォーマンスの向上、セキュリティの向上、新機能の向上を図るために、最新バージョンの GitHub Enterprise にアップグレードします。 アップグレードに関するヘルプについては、GitHub Enterprise サポートにお問い合わせく� さい

Configuring commit rebasing for pull requests

You can enforce, allow, or disable commit rebasing for all pull request merges on your GitHub Enterprise Server instance in your repository.

You can configure pull request merge options on your GitHub Enterprise Server instance to meet your workflow needs and preferences for managing Git history. For more information, see "Configuring pull request merges."

  1. On your GitHub Enterprise Server instance, navigate to the main page of the repository.

  2. リポジトリ名の下の [ 設定] をクリックします。 リポジトリの設定ボタン

  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.

    Pull request rebased commits

If you also select another merge method, collaborators will be able to choose the type of merge commit when merging a pull request. コミットの線形履歴を必要とする保護されたブランチ ルールがリポジトリにある� �合、スカッシュ マージ、リベース マージ、あるいはその両方を許可しなければなりません。 詳細については、「保護されたブランチについて」を参照してく� さい。