Home  >  Article  >  Development Tools  >  How to create a folder in the GitLab library

How to create a folder in the GitLab library

PHPz
PHPzOriginal
2023-04-26 09:15:433349browse

GitLab, as an open source code hosting platform, has become a very convenient choice for developers. In GitLab, we can create multiple libraries to store code for different projects. For each library, we can create multiple folders to organize the classification of different files.

The following will introduce how to create a folder in the GitLab library.

Step one: Enter the GitLab library

Open the GitLab website, log in to your account, and find the library where you need to create a folder. Click to enter the homepage of the library

Step 2: Create a new folder

Click the " " button on the right, a drop-down menu will appear, select the "New Folder" option.

In the pop-up window, enter the name of the folder to be created and click the "Create Folder" button.

Step 3: Create a new file

After creating a new folder, we can create a new file directly in the folder. Click the red button similar to the following to enter the operation page for creating new files.

In the pop-up page, fill in the name of the file to be created, you can choose to fill in the file content, and then click "Commit changes" to complete the creation of the file.

Summary

The above is how to create a folder in the GitLab library. It should be noted that if there is no file in the newly created folder in GitLab, GitLab will not create the file. folder. Therefore, when creating a folder, you also need to create the files that need to be stored in it. Establishing a clear folder structure is very important for both version control and code management, and is also a good coding habit.

The above is the detailed content of How to create a folder in the GitLab library. 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