diff options
author | Marcia Ramos <marcia@gitlab.com> | 2019-07-25 14:18:38 +0000 |
---|---|---|
committer | Marcia Ramos <marcia@gitlab.com> | 2019-07-25 14:18:38 +0000 |
commit | cff6a3c4df8d820ce35f942af70c1f4091f58e1e (patch) | |
tree | a8f3d0e12023474139f31c50261769bc5ac1504e | |
parent | bd899b80b1557d9be7f231fc92f05d410c67f73f (diff) | |
parent | f1ea767818e5566a722115b4bccc7ea0aaf23e1a (diff) | |
download | gitlab-ce-cff6a3c4df8d820ce35f942af70c1f4091f58e1e.tar.gz |
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
-rw-r--r-- | doc/user/profile/index.md | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/doc/user/profile/index.md b/doc/user/profile/index.md index 61a30a775b0..fc5eb8c7b56 100644 --- a/doc/user/profile/index.md +++ b/doc/user/profile/index.md @@ -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 |