Home  >  Article  >  Development Tools  >  How to create projects under the same group on gitlab

How to create projects under the same group on gitlab

PHPz
PHPzOriginal
2023-03-29 11:50:471935browse

In GitLab, the project is one of the basic units in GitLab. A group is a collection of multiple projects. If you need to create a project under a group, you can follow the following steps:

  1. Log in to GitLab

First, you need to log in to your GitLab account. If you also If you don't have an account, you need to register a GitLab account first.

  1. Create a new group

To create a project into a group, make sure you have already created a group. If you haven't created a group yet, go to the Gitlab main page and click the "Create Group" button. On the "New Group" page, enter the group name, description and other relevant information and click the "Create Group" button to create a new group.

  1. Create a new project

To create a project under a group, first you need to create a new project. On the main GitLab page, click the "Projects" button in the left navigation menu, and on the project page, click the "New Project" button.

On the "New Project" page, you need to fill in the project name, description and other relevant information. Make sure you select "Internal" in the "Visibility Level" option to ensure that your project is only accessible to members of the group. In the Select a namespace drop-down menu, select the group into which you want to create the project as a subgroup. Then click the "Create Project" button to create a new project.

  1. Add an existing project to a group

If you have already created a project on GitLab and need to add it to a group, you can follow Following steps:

  • Go into your project and click the "Settings" button on the top navigation bar.
  • Under the "General" tab, scroll to the "Namespace/Path" section and select the group you want to add the item as a child in the "Namespace" drop-down menu.
  • Click the "Save Settings" button and GitLab will move the project to the new group.

Summary

The above are the steps on how to create a project under a group on GitLab. The steps are very simple and only require a few simple operations. You can also add other items to this group if you wish. This way you can easily manage multiple projects and members of your group can access and collaborate on them more easily.

The above is the detailed content of How to create projects under the same group on gitlab. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn