Commit f1ea7678 authored by Evan Read's avatar Evan Read Committed by Marcia Ramos

Improve steps for setting commit email

parent bd899b80
...@@ -147,39 +147,40 @@ You can also set your current status [using the API](../../api/users.md#user-sta ...@@ -147,39 +147,40 @@ You can also set your current status [using the API](../../api/users.md#user-sta
> [Introduced](https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/21598) in GitLab 11.4. > [Introduced](https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/21598) in GitLab 11.4.
A commit email, is the email that will be displayed in every Git-related action done through the A commit email is an email address displayed in every Git-related action carried out through the GitLab interface.
GitLab interface.
You are able to select from the list of your own verified emails which email you want to use as the commit email. Any of your own verified email addresses can be used as the commit email.
To change it: To change your commit email:
1. Open the user menu in the top-right corner of the navigation bar. 1. Click on your avatar at the top-right corner of the navigation bar.
1. Hit **Commit email** selection box. 1. From the menu that appears, click **Settings**.
1. In the **Main settings** section, locate **Commit email** dropdown.
1. Select any of the verified emails. 1. Select any of the verified emails.
1. Hit **Update profile settings**. 1. Press **Update profile settings**.
### Private commit email ### Private commit email
> [Introduced](https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/22560) in GitLab 11.5. > [Introduced](https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/22560) in GitLab 11.5.
GitLab provides the user with an automatically generated private commit email option, GitLab provides users with an automatically generated private commit email option,
which allows the user to not make their email information public. which allows the user to not make their email information public.
To enable this option: To enable this option:
1. Open the user menu in the top-right corner of the navigation bar. 1. Click on your avatar at the top-right corner of the navigation bar.
1. Hit **Commit email** selection box. 1. From the menu that appears, click **Settings**.
1. Select **Use a private email** option. 1. In the **Main settings** section, locate **Commit email** dropdown.
1. Hit **Update profile settings**. 1. Select the "Use a private email" option.
1. Press **Update profile settings**.
Once this option is enabled, every Git-related action will be performed using the private commit email. Once this option is enabled, every Git-related action will be performed using the private commit email.
In order to stay fully annonymous, you can also copy this private commit email In order to stay fully anonymous, you can also copy this private commit email
and configure it on your local machine using the following command: and configure it on your local machine using the following command:
``` ```sh
git config --global user.email "YOUR_PRIVATE_COMMIT_EMAIL" git config --global user.email <YOUR_PRIVATE_COMMIT_EMAIL>
``` ```
## Troubleshooting ## Troubleshooting
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment