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(设置)

    用户栏中的 Settings 图标

  2. 在左侧边栏中,单击 Emails(电子邮件)电子邮件选项卡

  3. 在“Add email address(添加电子邮件地址)”中,输入您的电子邮件地址,然后单击 Add(添加)Email addition button

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

Further reading