Features / Merging

Merge email

GitHub merges with one default email everywhere. Tell it which email goes with which organization, and the merge box picks it for you.

Appears in: Merge box On by default Since 0.2.0
Commit message
feat: export the report as CSV (#42)
Commit email
me@work.example
Set by Polished GitHub for work-org.

How it picks the email

  • One rule per owner, organization or user: on its repositories, merges and squashes use that email.
  • Owners without a rule keep GitHub’s default email.
  • A note under the field says the extension chose it. Pick another email by hand and it stays your choice for that merge.
  • The email must be a verified email of your GitHub account: otherwise the field is left as is, and the note says so.
  • The options suggest owners and emails: those of the merge boxes you opened, and, if the token can read them, all your organizations and verified emails.

Settings

RulesOptions › Features › merge-email: an owner and an email per row.
Turn offOptions › Features › merge-email

Good to know

  • GitHub only offers the choice when the commit is yours: squashing someone else’s pull request, a Renovate update for instance, authors the commit as them, and the extension has nothing to pick.
  • Covers merges and squashes from the pull request page. Commits made elsewhere in GitHub, and on your machine, keep their own email: for local commits, git’s includeIf does the same per directory.
  • No token needed. The rules are saved with your settings, and the extension sends them nowhere.