About commit email addresses
GitHub Enterprise uses your commit email address to associate commits with your GitHub Enterprise account. You can choose the email address that will be associated with the commits you push from the command line as well as web-based Git operations you make.
For web-based Git operations, you can set your commit email address on GitHub Enterprise. For commits you push from the command line, you can set your commit email address in Git.
After changing your commit email address on GitHub Enterprise, the new email address will be visible in all of your future web-based Git operations by default. Any commits you made prior to changing your commit email address are still associated with your previous email address.
To ensure that commits are attributed to you and appear in your contributions graph, use an email address that is connected to your GitHub Enterprise account.
Setting your commit email address on GitHub
- En la esquina superior derecha de cualquier página, da clic en tu foto de perfil y después da clic en Configuración.

- En la barra lateral izquierda, da clic en Correos Electrónicos.

- En "Agregar dirección de correo electrónico", teclea tu dirección de correo electrónico y da clic en Agregar.

- En la lista de "Dirección de correo electrónico principal", selecciona la dirección que quieres asociar con tus operaciones de Git basadas en web.

Setting your commit email address in Git
You can use the git config command to change the email address you associate with your Git commits. The new email address you set will be visible in any future commits you push to GitHub Enterprise from the command line. Any commits you made prior to changing your commit email address are still associated with your previous email address.
Setting your email address for every repository on your computer
- Abre la TerminalTerminalGit Bash.
- Configurar una dirección de correo electrónico en Git. Puedes utilizar cualquier otra.
$ git config --global user.email "email@example.com" - Confirma que has establecido correctamente la dirección de correo electrónico en Git:
$ git config --global user.email email@example.com - Agrega la dirección de correo electrónico a tu cuenta de GitHub Enterprise mediante la configuración de tu dirección de correo electrónico para confirmaciones para que dichas confirmaciones se te atribuyan y aparezcan en tu gráfica de contribuciones.
Setting your email address for a single repository
GitHub Enterprise uses the email address set in your local Git configuration to associate commits pushed from the command line with your GitHub Enterprise account.
You can change the email address associated with commits you make in a single repository. This will override your global Git config settings in this one repository, but will not affect any other repositories.
- Abre la TerminalTerminalGit Bash.
- Change the current working directory to the local repository where you want to configure the email address that you associate with your Git commits.
- Configurar una dirección de correo electrónico en Git. Puedes utilizar cualquier otra.
$ git config user.email "email@example.com" - Confirma que has establecido correctamente la dirección de correo electrónico en Git:
$ git config user.email email@example.com - Agrega la dirección de correo electrónico a tu cuenta de GitHub Enterprise mediante la configuración de tu dirección de correo electrónico para confirmaciones para que dichas confirmaciones se te atribuyan y aparezcan en tu gráfica de contribuciones.