debian-mirror-gitlab/doc/user/profile/index.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

397 lines
17 KiB
Markdown
Raw Normal View History

2019-10-12 21:52:04 +05:30
---
type: index, howto
2020-06-23 00:09:42 +05:30
stage: Manage
2022-04-04 11:22:00 +05:30
group: Authentication and Authorization
2022-11-25 23:54:43 +05:30
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
2019-10-12 21:52:04 +05:30
---
2021-10-27 15:23:28 +05:30
# User account **(FREE)**
2017-09-10 17:25:29 +05:30
2021-04-17 20:07:23 +05:30
Each GitLab account has a user profile, which contains information about you and your GitLab activity.
2017-09-10 17:25:29 +05:30
2021-04-17 20:07:23 +05:30
Your profile also includes settings, which you use to customize your GitLab experience.
2019-12-04 20:38:33 +05:30
2021-04-17 20:07:23 +05:30
## Access your user profile
2017-09-10 17:25:29 +05:30
2019-10-12 21:52:04 +05:30
To access your profile:
2023-04-23 21:23:45 +05:30
1. On the top bar, in the upper-right corner, select your avatar.
2021-03-11 19:13:27 +05:30
1. Select your name or username.
2017-09-10 17:25:29 +05:30
2021-04-17 20:07:23 +05:30
## Access your user settings
2021-03-11 19:13:27 +05:30
To access your user settings:
2023-04-23 21:23:45 +05:30
1. On the top bar, in the upper-right corner, select your avatar.
2021-03-11 19:13:27 +05:30
1. Select **Edit profile**.
2017-09-10 17:25:29 +05:30
2021-04-17 20:07:23 +05:30
## Change your username
2020-05-24 23:13:21 +05:30
2022-08-27 11:52:29 +05:30
Your username has a unique [namespace](../namespace/index.md),
2021-04-17 20:07:23 +05:30
which is updated when you change your username. Before you change your username, read about
2021-09-04 01:27:46 +05:30
[how redirects behave](../project/repository/index.md#what-happens-when-a-repository-path-changes).
2021-04-17 20:07:23 +05:30
If you do not want to update the namespace, you can create a new user or group and transfer projects to it instead.
2020-05-24 23:13:21 +05:30
2021-04-17 20:07:23 +05:30
Prerequisites:
2018-03-17 18:26:18 +05:30
2023-05-27 22:25:52 +05:30
- Your namespace must not:
- Contain a project with [Container Registry](../packages/container_registry/index.md) tags.
- Have a project that hosts [GitLab Pages](../project/pages/index.md). For more information,
see [changing your username in the GitLab Team Handbook](https://about.gitlab.com/handbook/tools-and-tips/#change-your-username-at-gitlabcom).
- Your username must be between 2 and 255 characters in length, and must not:
- Contain special characters or emojis.
- End with `.<reserved file extension>`, for example `jon.png`. However, `jonpng` is valid.
2018-03-17 18:26:18 +05:30
2021-04-17 20:07:23 +05:30
To change your username:
2018-03-17 18:26:18 +05:30
2023-04-23 21:23:45 +05:30
1. On the top bar, in the upper-right corner, select your avatar.
2021-04-17 20:07:23 +05:30
1. Select **Edit profile**.
2021-11-11 11:23:49 +05:30
1. On the left sidebar, select **Account**.
2021-04-17 20:07:23 +05:30
1. In the **Change username** section, enter a new username as the path.
2021-03-11 19:13:27 +05:30
1. Select **Update username**.
2018-03-17 18:26:18 +05:30
2021-11-11 11:23:49 +05:30
## Add emails to your user profile
To add new email to your account:
2023-04-23 21:23:45 +05:30
1. On the top bar, in the upper-right corner, select your avatar.
2021-11-11 11:23:49 +05:30
1. Select **Edit profile**.
1. On the left sidebar, select **Emails**.
2021-11-18 22:05:49 +05:30
1. In the **Email** text box, enter the new email.
2021-11-11 11:23:49 +05:30
1. Select **Add email address**.
1. Verify your email address with the verification email received.
2021-04-17 20:07:23 +05:30
## Make your user profile page private
2018-03-17 18:26:18 +05:30
2021-04-17 20:07:23 +05:30
You can make your user profile visible to only you and GitLab administrators.
2018-11-18 11:00:15 +05:30
2021-03-11 19:13:27 +05:30
To make your profile private:
2018-11-18 11:00:15 +05:30
2023-04-23 21:23:45 +05:30
1. On the top bar, in the upper-right corner, select your avatar.
2021-03-11 19:13:27 +05:30
1. Select **Edit profile**.
1. Select the **Private profile** checkbox.
1. Select **Update profile settings**.
2018-11-18 11:00:15 +05:30
2021-04-17 20:07:23 +05:30
The following is hidden from your user profile page (`https://gitlab.example.com/username`):
2018-11-18 11:00:15 +05:30
2021-04-17 20:07:23 +05:30
- Atom feed
- Date when account was created
- Tabs for activity, groups, contributed projects, personal projects, starred projects, snippets
2021-04-29 21:17:54 +05:30
NOTE:
2023-03-17 16:20:25 +05:30
Making your user profile page private does not hide all your public resources from
the REST or GraphQL APIs. For example, the email address associated with your commit
signature is accessible unless you [use an automatically-generated private commit email](#use-an-automatically-generated-private-commit-email).
2021-04-29 21:17:54 +05:30
2021-09-30 23:02:18 +05:30
### User visibility
The public page of a user, located at `/username`, is always visible whether you are signed-in or
not.
When visiting the public page of a user, you can only see the projects which you have privileges to.
2021-10-27 15:23:28 +05:30
If the [public level is restricted](../admin_area/settings/visibility_and_access_controls.md#restrict-visibility-levels),
2023-03-17 16:20:25 +05:30
user profiles are only visible to authenticated users.
2021-09-30 23:02:18 +05:30
2022-01-26 12:08:38 +05:30
## Add details to your profile with a README
2021-12-11 22:18:48 +05:30
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/232157) in GitLab 14.5.
2022-04-04 11:22:00 +05:30
You can add more information to your profile page with a README file. When you populate
the README file with information, it's included on your profile page.
2021-12-11 22:18:48 +05:30
2022-04-04 11:22:00 +05:30
### From a new project
2021-12-11 22:18:48 +05:30
2022-04-04 11:22:00 +05:30
To create a new project and add its README to your profile:
2022-10-11 01:57:18 +05:30
1. On the top bar, select **Main menu > Projects > View all projects**.
1. On the right of the page, select **New project**.
2022-04-04 11:22:00 +05:30
1. Select **Create blank project**.
1. Enter the project details:
- In the **Project name** field, enter the name for your new project.
- In the **Project URL** field, select your GitLab username.
- In the **Project slug** field, enter your GitLab username.
1. For **Visibility Level**, select **Public**.
![Proper project path for an individual on the hosted product](img/personal_readme_setup_v14_5.png)
1. For **Project Configuration**, ensure **Initialize repository with a README** is selected.
1. Select **Create project**.
2021-12-11 22:18:48 +05:30
1. Create a README file inside this project. The file can be any valid [README or index file](../project/repository/index.md#readme-and-index-files).
2022-06-21 17:19:12 +05:30
1. Populate the README file with [Markdown](../markdown.md), or another [supported markup language](../project/repository/index.md#supported-markup-languages).
2022-01-26 12:08:38 +05:30
2022-04-04 11:22:00 +05:30
GitLab displays the contents of your README below your contribution graph.
### From an existing project
To add the README from an existing project to your profile,
2022-08-13 15:12:31 +05:30
[update the path](../project/settings/index.md#rename-a-repository) of the project
2022-04-04 11:22:00 +05:30
to match your username.
2021-12-11 22:18:48 +05:30
2021-04-17 20:07:23 +05:30
## Add external accounts to your user profile page
2019-07-31 22:56:46 +05:30
2021-03-11 19:13:27 +05:30
You can add links to certain other external accounts you might have, like Skype and Twitter.
They can help other users connect with you on other platforms.
2019-07-31 22:56:46 +05:30
To add links to other accounts:
2023-04-23 21:23:45 +05:30
1. On the top bar, in the upper-right corner, select your avatar.
2021-03-11 19:13:27 +05:30
1. Select **Edit profile**.
2023-06-20 00:43:36 +05:30
1. In the **Main settings** section, add your:
- Discord [user ID](https://support.discord.com/hc/en-us/articles/206346498-Where-can-I-find-my-User-Server-Message-ID-).
- LinkedIn profile name.
- Skype username.
- Twitter @username.
Your user ID or username must be 500 characters or less.
2021-03-11 19:13:27 +05:30
1. Select **Update profile settings**.
2019-07-31 22:56:46 +05:30
2021-04-17 20:07:23 +05:30
## Show private contributions on your user profile page
2018-11-20 20:47:30 +05:30
2023-01-13 00:05:48 +05:30
In the user contribution calendar graph and recent activity list, you can see your [contribution actions](contributions_calendar.md#user-contribution-events) to private projects.
2018-11-20 20:47:30 +05:30
2021-04-17 20:07:23 +05:30
To show private contributions:
2018-11-20 20:47:30 +05:30
2023-04-23 21:23:45 +05:30
1. On the top bar, in the upper-right corner, select your avatar.
2021-03-11 19:13:27 +05:30
1. Select **Edit profile**.
2021-04-17 20:07:23 +05:30
1. In the **Main settings** section, select the **Include private contributions on my profile** checkbox.
2021-03-11 19:13:27 +05:30
1. Select **Update profile settings**.
2018-11-20 20:47:30 +05:30
2021-09-04 01:27:46 +05:30
## Add your gender pronouns
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/332405) in GitLab 14.0.
You can add your gender pronouns to your GitLab account to be displayed next to
your name in your profile.
To specify your pronouns:
2023-04-23 21:23:45 +05:30
1. On the top bar, in the upper-right corner, select your avatar.
2021-09-04 01:27:46 +05:30
1. Select **Edit profile**.
2023-06-20 00:43:36 +05:30
1. In the **Pronouns** text box, enter your pronouns. The text must be 50 characters or less.
2021-09-04 01:27:46 +05:30
1. Select **Update profile settings**.
2021-10-27 15:23:28 +05:30
## Add your name pronunciation
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/25742) in GitLab 14.2.
You can add your name pronunciation to your GitLab account. This is displayed in your profile, below
your name.
To add your name pronunciation:
2023-04-23 21:23:45 +05:30
1. On the top bar, in the upper-right corner, select your avatar.
2021-10-27 15:23:28 +05:30
1. Select **Edit profile**.
2023-06-20 00:43:36 +05:30
1. In the **Pronunciation** text box, enter how your name is pronounced. The pronunciation must be plain text and 255 characters or less.
2021-10-27 15:23:28 +05:30
1. Select **Update profile settings**.
2021-04-17 20:07:23 +05:30
## Set your current status
2018-11-18 11:00:15 +05:30
2021-10-27 15:23:28 +05:30
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56649) in GitLab 13.10, users can schedule the clearing of their status.
2018-11-18 11:00:15 +05:30
You can provide a custom status message for your user profile along with an emoji that describes it.
This may be helpful when you are out of office or otherwise not available.
2021-04-17 20:07:23 +05:30
Your status is publicly visible even if your [profile is private](#make-your-user-profile-page-private).
2019-10-12 21:52:04 +05:30
2018-11-18 11:00:15 +05:30
To set your current status:
2023-04-23 21:23:45 +05:30
1. On the top bar, in the upper-right corner, select your avatar.
2021-04-17 20:07:23 +05:30
1. Select **Set status** or, if you have already set a status, **Edit status**.
1. Set the desired emoji and status message. Status messages must be plain text and 100 characters or less.
They can also contain emoji codes like, `I'm on vacation :palm_tree:`.
2021-11-18 22:05:49 +05:30
1. Select a value from the **Clear status after** dropdown list.
2021-03-11 19:13:27 +05:30
1. Select **Set status**. Alternatively, you can select **Remove status** to remove your user status entirely.
2018-12-05 23:21:45 +05:30
2022-10-11 01:57:18 +05:30
You can also set your current status from [your user settings](#access-your-user-settings) or by [using the API](../../api/users.md#user-status).
2018-11-18 11:00:15 +05:30
2021-04-17 20:07:23 +05:30
If you select the **Busy** checkbox, remember to clear it when you become available again.
2021-01-29 00:20:46 +05:30
2021-04-17 20:07:23 +05:30
## Set a busy status indicator
2021-01-29 00:20:46 +05:30
2021-03-08 18:12:59 +05:30
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/259649) in GitLab 13.6.
> - It was [deployed behind a feature flag](../feature_flags.md), disabled by default.
> - [Became enabled by default](https://gitlab.com/gitlab-org/gitlab/-/issues/281073) in GitLab 13.8.
2021-06-08 01:23:25 +05:30
> - [Feature flag removed](https://gitlab.com/gitlab-org/gitlab/-/issues/329163) in GitLab 13.12.
2021-01-29 00:20:46 +05:30
2021-03-11 19:13:27 +05:30
To indicate to others that you are busy, you can set an indicator.
2021-01-29 00:20:46 +05:30
To set the busy status indicator, either:
- Set it directly:
2023-04-23 21:23:45 +05:30
1. On the top bar, in the upper-right corner, select your avatar.
2021-04-17 20:07:23 +05:30
1. Select **Set status** or, if you have already set a status, **Edit status**.
2022-11-25 23:54:43 +05:30
1. Select the **Set yourself as busy** checkbox.
2021-01-29 00:20:46 +05:30
- Set it on your profile:
2023-04-23 21:23:45 +05:30
1. On the top bar, in the upper-right corner, select your avatar.
2021-03-11 19:13:27 +05:30
1. Select **Edit profile**.
2022-11-25 23:54:43 +05:30
1. In the **Current status** section, select the **Set yourself as busy** checkbox.
2021-04-17 20:07:23 +05:30
2023-06-20 00:43:36 +05:30
The busy status is displayed next to your name, every time your name is shown in the user interface.
2021-01-29 00:20:46 +05:30
2021-10-27 15:23:28 +05:30
## Set your time zone
2021-12-11 22:18:48 +05:30
You can set your local time zone to:
- Display your local time on your profile, and in places where hovering over your name shows information about you.
- Align your contribution calendar with your local time to better reflect when your contributions were made
([introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/335343) in GitLab 14.5).
2021-10-27 15:23:28 +05:30
To set your time zone:
2023-04-23 21:23:45 +05:30
1. On the top bar, in the upper-right corner, select your avatar.
2021-10-27 15:23:28 +05:30
1. Select **Edit profile**.
1. In the **Time settings** section, select your time zone from the dropdown list.
2018-12-13 13:39:08 +05:30
2021-10-27 15:23:28 +05:30
## Change the email displayed on your commits
2018-12-13 13:39:08 +05:30
2019-10-12 21:52:04 +05:30
A commit email is an email address displayed in every Git-related action carried out through the GitLab interface.
2018-12-13 13:39:08 +05:30
2019-10-12 21:52:04 +05:30
Any of your own verified email addresses can be used as the commit email.
2021-11-11 11:23:49 +05:30
Your primary email is used by default.
2018-12-13 13:39:08 +05:30
2019-10-12 21:52:04 +05:30
To change your commit email:
2018-12-13 13:39:08 +05:30
2023-04-23 21:23:45 +05:30
1. In the upper-right corner, select your avatar.
2021-03-11 19:13:27 +05:30
1. Select **Edit profile**.
2021-11-18 22:05:49 +05:30
1. In the **Commit email** dropdown list, select an email address.
2021-03-11 19:13:27 +05:30
1. Select **Update profile settings**.
2018-12-13 13:39:08 +05:30
2022-01-26 12:08:38 +05:30
## Change your primary email
2023-04-23 21:23:45 +05:30
Your primary email is the default email address for your login, commit email, and notification email.
2022-01-26 12:08:38 +05:30
To change your primary email:
2023-04-23 21:23:45 +05:30
1. In the upper-right corner, select your avatar.
2022-01-26 12:08:38 +05:30
1. Select **Edit profile**.
1. In the **Email** field, enter your new email address.
1. Select **Update profile settings**.
2023-04-23 21:23:45 +05:30
1. Optional. Select the confirmation email if you have not previously added this email to your GitLab.com account.
2022-01-26 12:08:38 +05:30
## Set your public email
You can select one of your [configured email addresses](#add-emails-to-your-user-profile) to be displayed on your public profile:
2023-04-23 21:23:45 +05:30
1. In the upper-right corner, select your avatar.
2022-01-26 12:08:38 +05:30
1. Select **Edit profile**.
1. In the **Public email** field, select one of the available email addresses.
1. Select **Update profile settings**.
2021-04-17 20:07:23 +05:30
### Use an automatically-generated private commit email
2018-12-13 13:39:08 +05:30
2021-04-17 20:07:23 +05:30
GitLab provides an automatically-generated private commit email address,
so you can keep your email information private.
2018-12-13 13:39:08 +05:30
2021-04-17 20:07:23 +05:30
To use a private commit email:
2018-12-13 13:39:08 +05:30
2023-04-23 21:23:45 +05:30
1. On the top bar, in the upper-right corner, select your avatar.
2021-03-11 19:13:27 +05:30
1. Select **Edit profile**.
2021-11-18 22:05:49 +05:30
1. In the **Commit email** dropdown list, select **Use a private email**.
2021-03-11 19:13:27 +05:30
1. Select **Update profile settings**.
2018-12-13 13:39:08 +05:30
2021-04-17 20:07:23 +05:30
Every Git-related action uses the private commit email.
2018-12-13 13:39:08 +05:30
2021-04-17 20:07:23 +05:30
To stay fully anonymous, you can also copy the private commit email
and configure it on your local machine by using the following command:
2018-12-13 13:39:08 +05:30
2020-03-13 15:44:24 +05:30
```shell
2019-10-12 21:52:04 +05:30
git config --global user.email <your email address>
2018-12-13 13:39:08 +05:30
```
2023-05-27 22:25:52 +05:30
## Follow users
2022-06-21 17:19:12 +05:30
2023-05-27 22:25:52 +05:30
You can follow or unfollow users from either:
2022-07-23 23:45:48 +05:30
- Their [user profiles](#access-your-user-profile).
- The small popover that appears when you hover over a user's name ([introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/76050)
in GitLab 15.0).
2022-11-25 23:54:43 +05:30
In [GitLab 15.5 and later](https://gitlab.com/gitlab-org/gitlab/-/issues/360755),
the maximum number of users you can follow is 300.
2023-07-09 08:55:56 +05:30
### Disable following and being followed by other users
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/325558) in GitLab 16.0 [with a flag](../feature_flags.md) named `disable_follow_users`. Disabled by default.
You can disable following and being followed by other users.
1. On the top bar, in the upper-right corner, select your avatar.
1. Select **Edit profile**.
1. Select **Preferences**.
1. Clear the **Enable follow users** checkbox.
1. Select **Save changes**.
NOTE:
When this feature is being disabled, all current followed/following connections are deleted.
2023-05-27 22:25:52 +05:30
## View your activity
GitLab tracks [user contribution activity](contributions_calendar.md).
To view a summary of your activity, or the activity of other users:
2022-06-21 17:19:12 +05:30
1. From a user's profile, select **Follow**.
1. In the GitLab menu, select **Activity**.
1. Select the **Followed users** tab.
2023-07-09 08:55:56 +05:30
## Session duration
### Stay signed in for two weeks
By default, you are signed out of GitLab after seven days (10080 minutes) of inactivity or until you close your browser
window, whichever comes first.
2018-03-17 18:26:18 +05:30
2023-05-27 22:25:52 +05:30
GitLab administrators can
[change this default](../admin_area/settings/account_and_limit_settings.md#customize-the-default-session-duration).
2022-07-23 23:45:48 +05:30
2023-07-09 08:55:56 +05:30
### Stay signed in indefinitely
2018-03-17 18:26:18 +05:30
2023-07-09 08:55:56 +05:30
> Ability to turn the **Remember me** setting on and off [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/369133) in GitLab 16.0.
2018-03-17 18:26:18 +05:30
2023-07-09 08:55:56 +05:30
To remain signed in indefinitely, select the **Remember me** checkbox on the GitLab sign-in page.
2018-03-17 18:26:18 +05:30
2023-07-09 08:55:56 +05:30
You remain signed in because, although the server sets a session time of one week, your browser stores a secure token
that enables automatic reauthentication.
2020-06-23 00:09:42 +05:30
2023-07-09 08:55:56 +05:30
GitLab administrators can [turn off the **Remember me** setting](../admin_area/settings/account_and_limit_settings.md#session-duration) for environments
that require sessions to expire periodically for security or compliance purposes.
2020-09-03 11:15:55 +05:30
2023-05-27 22:25:52 +05:30
### Cookies used for sign-in
2020-06-23 00:09:42 +05:30
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/20340) in GitLab 13.1.
2023-07-09 08:55:56 +05:30
When you sign in, three cookies are set:
2020-06-23 00:09:42 +05:30
2023-05-27 22:25:52 +05:30
- A session cookie called `_gitlab_session`.
This cookie has no set expiration date. However, it expires based on its `session_expire_delay`.
2023-07-09 08:55:56 +05:30
- A session cookied called `about_gitlab_active_user`.
This cookie is used by the [marketing site](https://about.gitlab.com/) to determine if a user has an active GitLab session. No user information is passed to the cookie and it expires with the session.
2023-05-27 22:25:52 +05:30
- A persistent cookie called `remember_user_token`, which is set only if you selected **Remember me** on the sign-in page.
2020-06-23 00:09:42 +05:30
2023-07-09 08:55:56 +05:30
When you close your browser, the `_gitlab_session` and `about_gitlab_active_user` cookies are usually cleared client-side.
When it expires or isn't available, GitLab:
- Uses the `remember_user_token`cookie to get you a new `_gitlab_session` cookie and keep you signed in, even if you close your browser.
- Sets the `about_gitlab_active_user` to `true`.
2020-06-23 00:09:42 +05:30
2023-07-09 08:55:56 +05:30
When both the `remember_user_token` and `_gitlab_session` cookies are gone or expired, you must sign in again.
2020-06-23 00:09:42 +05:30
2023-05-27 22:25:52 +05:30
NOTE:
When any session is signed out, or when a session is revoked
from the [active sessions list](active_sessions.md), all **Remember me** tokens are revoked.
While other sessions remain active, the **Remember me** feature doesn't restore
a session if the browser is closed or the existing session expires.
2021-04-17 20:07:23 +05:30
## Related topics
- [Create users](account/create_accounts.md)
- [Sign in to your GitLab account](../../topics/authentication/index.md)
2022-11-25 23:54:43 +05:30
- [Change your password](user_passwords.md)
- Receive emails for:
- [Sign-ins from unknown IP addresses or devices](notifications.md#notifications-for-unknown-sign-ins)
2023-05-27 22:25:52 +05:30
- [Attempted sign-ins using incorrect verification codes](notifications.md#notifications-for-attempted-sign-ins-using-incorrect-verification-codes)
2023-03-17 16:20:25 +05:30
- Manage applications that can [use GitLab as an OAuth provider](../../integration/oauth_provider.md)
2021-04-17 20:07:23 +05:30
- Manage [personal access tokens](personal_access_tokens.md) to access your account via API and authorized applications
2022-06-21 17:19:12 +05:30
- Manage [SSH keys](../ssh.md) to access your account via SSH
2021-04-17 20:07:23 +05:30
- Change your [syntax highlighting theme](preferences.md#syntax-highlighting-theme)
- [View your active sessions](active_sessions.md) and revoke any of them if necessary