askvity

How to Rename a Group in GitLab?

Published in GitLab Group Management 3 mins read

Renaming a group in GitLab is a straightforward process primarily involving changing its URL or path.

You can rename a group in GitLab by navigating to the group's settings and updating its URL path in the Advanced section.

Steps to Rename Your GitLab Group

Based on the standard procedure and the provided reference, here are the steps to rename a group:

  1. On the left sidebar, select Search or go to and find your group. This is your starting point to access the specific group you wish to rename.
  2. Select Settings > General. Within your group's page, locate the "Settings" menu, usually near the bottom of the left sidebar, and click on "General."
  3. Expand the Advanced section. Scroll down the general settings page until you find the section labeled "Advanced" and expand it to reveal more options.
  4. Under Change group URL, enter a new name. Within the Advanced settings, you will find an option specifically for changing the group's URL. Enter the desired new name or path for your group here. This action changes the identifier used in the group's web address.

Once you've entered the new name under "Change group URL," GitLab will update the group's path accordingly.

What Happens When You Rename a Group?

Renaming a group in GitLab primarily involves changing its unique identifier, which is reflected in its URL (e.g., gitlab.com/your-new-group-name). This action affects:

  • Group Path: The segment of the URL that identifies the group.
  • Project Paths: The paths of any projects within the group are automatically updated to reflect the new group path.
  • Redirects: GitLab typically handles redirects from the old group path to the new one for a period, helping to prevent broken links. However, it's good practice to update any external links or local clones pointing to the old path.

Why Rename a GitLab Group?

Reasons for renaming a group might include:

  • Branding: Aligning the group name with company or project branding changes.
  • Organization: Improving clarity or structure within your GitLab instance.
  • Correction: Fixing typos or inaccurate initial names.

Renaming is a simple administrative task that helps maintain clarity and consistency within your GitLab projects and structure.

Related Articles