Skip to content

Commit bbfb168

Browse files
authored
Merge pull request #569 from github/email-selection
Specify that merge commit email address is only available when creating a merge commit
2 parents 815edb4 + eef1219 commit bbfb168

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

content/github/collaborating-with-issues-and-pull-requests/merging-a-pull-request.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,15 @@ If you decide you don't want the changes in a topic branch to be merged to the u
4646

4747
{% data reusables.files.choose-commit-email %}
4848

49+
{% note %}
50+
51+
**Note:** The email selector is not available for rebase merges, which do not create a merge commit, or for squash merges, which credit the user who created the pull request as the author of the squashed commit.
52+
53+
{% endnote %}
54+
4955
6. Click **Confirm merge**, **Confirm squash and merge**, or **Confirm rebase and merge**.
5056
6. Optionally, [delete the branch](/articles/deleting-unused-branches). This keeps the list of branches in your repository tidy.
51-
57+
5258
The repository may be configured so that the head branch for a pull request is automatically deleted when you merge a pull request. For more information, see "[Managing the automatic deletion of branches](/github/administering-a-repository/managing-the-automatic-deletion-of-branches)."
5359

5460
{% if currentVersion == "free-pro-team@latest" or currentVersion == "github-ae@latest" or currentVersion ver_gt "[email protected]" %}

0 commit comments

Comments
 (0)