Commit cff6a3c4 authored by Marcia Ramos's avatar Marcia Ramos

Merge branch 'docs/improve-commit-email-steps' into 'master'

Improve steps for setting commit email

Closes #54881

See merge request gitlab-org/gitlab-ce!30833
parents bd899b80 f1ea7678
......@@ -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.
A commit email, is the email that will be displayed in every Git-related action done through the
GitLab interface.
A commit email is an email address displayed in every Git-related action carried out through the 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. Hit **Commit email** selection box.
1. Click on your avatar at the top-right corner of the navigation bar.
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. Hit **Update profile settings**.
1. Press **Update profile settings**.
### Private commit email
> [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.
To enable this option:
1. Open the user menu in the top-right corner of the navigation bar.
1. Hit **Commit email** selection box.
1. Select **Use a private email** option.
1. Hit **Update profile settings**.
1. Click on your avatar at the top-right corner of the navigation bar.
1. From the menu that appears, click **Settings**.
1. In the **Main settings** section, locate **Commit email** dropdown.
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.
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:
```
git config --global user.email "YOUR_PRIVATE_COMMIT_EMAIL"
```sh
git config --global user.email <YOUR_PRIVATE_COMMIT_EMAIL>
```
## 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