Skip to main content

Adding an email address to your GitHub account

GitHub Enterprise Server allows you to add as many email addresses to your account as you like. If you set an email address in your local Git configuration, you will need to add it to your account settings in order to connect your commits to your account. For more information about your email address and commits, see "Setting your commit email address."

  1. 在任何页面的右上角,单击个人资料照片,然后单击“设置”。

    用户栏中的 Settings 图标

  2. In the "Access" section of the sidebar, click Emails.

  3. 在“添加电子邮件地址”中,输入你的电子邮件地址并单击“添加”。 电子邮件添加按钮

  4. 在“Primary email address(主要电子邮件地址)”列表中,选择要与基于 web 的 Git 操作关联的电子邮件地址。 主要电子邮件地址选择

Further reading