Article version:

Setting your commit email address on GitHub

You can set a primary email address on GitHub that's associated with web-based Git operations you perform such as edits and merges. Alternatively, you can choose to keep your personal email address private and use a GitHub-provided noreply email address for your web-based Git operations.

Any commits you made prior to changing your commit email address are still associated with your previous email address.

If you haven't enabled email address privacy, you can choose which verified email address to author changes with when you edit, delete, or create files or merge a pull request on GitHub. If you enabled email address privacy, then the commit author email address cannot be changed and is <username> by default.

Note: You cannot verify email addresses from disposable domains. If you'd like to keep your email address private, you can use a GitHub-provided noreply email address. For more information, see "About commit email addresses."

For more information on commit email addresses, including your GitHub-provided noreply email address, see "About commit email addresses."

  1. In the upper-right corner of any page, click your profile photo, then click Settings.

    Settings icon in the user bar

  2. In the left sidebar, click Emails.

    Emails tab

  3. In "Add email address", type your email address and click Add.

    Email addition button

  4. Verify your email address.

  5. In the "Primary email address" list, select the email address you'd like to associate with your web-based Git operations.

    Selection for primary email address

  6. To keep your email address private when performing web-based Git operations, click Keep my email address private.

    Image of checkbox to keep your email address private

Further reading

Ask a human

Can't find what you're looking for?

Contact us