You can merge pull requests by retaining all the commits in a feature branch, squashing all commits into a single commit, or by rebasing individual commits from the head branch onto the base branch.
head
base
作業が完了したら、プルリクエストを上流ブランチにマージします。 リポジトリに対してプッシュアクセスを持つユーザなら誰でもマージを実行できます。
プルリクエストの自動マージを有効にすると、すべてのマージ要件が満たされたときにプルリクエストが自動的にマージされるようになり、開発速度を上げることができます。
If a merge queue is required by the branch protection setting for the branch, you can add your pull requests to a merge queue and GitHub will merge the pull requests for you once all required checks have passed.
You may choose to close a pull request without merging it into the upstream branch. これは、ブランチで提案された変更が必要でなくなったり、他のブランチで別の解決方法が提案されたりした場合に役立ちます。
Pull Request は上流ブランチへのマージ後に元に戻すことができます。