In the process of using GitLab for collaborative development, setting up an email is a very important step. Email addresses are not only used to receive notifications and updated information, but can also be used to quickly retrieve accounts, reset passwords, etc.
The following will introduce how to set up an email in GitLab.
Step 1: Log in to your GitLab account
First, open the browser, enter the GitLab official website address, and click to log in. If you don't have a GitLab account yet, you can register a new account.
Step 2: Enter the account settings page
After successfully logging in, click the avatar in the upper right corner and select "Settings" to enter the account settings page.
Step 3: Set the primary email address
On the left side of the account settings page, click the "Emails" button to enter the email settings page.
On the email settings page, you can see the "Primary Email" option. We can click "Add Email" to set your primary email. Enter your email address in the top input field and click the "Add Email" button.
Step 4: Verify email address
After setting up the primary email address, GitLab will send a verification email to your email address. You need to check the email in your mailbox and click the link in the verification email to verify this email address. If you don't see the verification link in the email you received, you can try checking your spam or contact your email service provider's customer service.
Note: If you do not verify your email address within the specified time, the email verification token will expire. A verification email needs to be sent to your mailbox again.
Step 5: Set up a secondary email address
In the "Emails" page, you can add multiple secondary email addresses to your account. These secondary email addresses can be used to receive some notifications and updates, but cannot be used for important operations such as account retrieval or password reset. A secondary email can be added via the "Add Email" button.
Step 6: Set the email address as public or private
After adding the email address, you also need to set the access permissions for this email address.
There is a "Public" option on the "Emails" page. If you check this option, anyone can view your email address. Otherwise, only you or an authorized user can access your email address.
It should be noted that setting the email address as public may increase the number of spam emails, so it is recommended to set the email address as private.
The above are all the steps to set up an email in GitLab. Through this simple setting, you can easily receive notifications and updates in GitLab and ensure account security.
The above is the detailed content of How to set up email in gitlab? Step sharing. For more information, please follow other related articles on the PHP Chinese website!