When using GitLab for project management, it is often necessary to archive files according to different categories to facilitate management. In GitLab, creating two-level folders can organize files into a clearer and easier-to-maintain structure. This article will introduce how to create two-level folders in GitLab.
Step 1: Create a first-level folder
First, we need to create a first-level folder in GitLab. In your project, select the " " icon and click "New folder".
Enter the name of the first-level folder, such as "Documents", and then click "Create directory".
Now, the first-level folder is created successfully. There you can upload files or create secondary folders.
Step 2: Create a secondary folder
Next, let’s create a secondary folder. In the first-level folder "Documents" you just created, select the " " icon and click "New folder".
Enter the name of the secondary folder, such as "Meetings", and select the first-level folder "Documents" in "Parent folder".
Click "Create directory" and you have successfully created a secondary folder named "Meetings".
Step 3: Add files in the secondary folder
Now you can upload files in the "Meetings" folder. Select your secondary folder "Meetings" in the left navigation bar, then click the " " icon and select "Upload file".
You can upload the documents or other files you need here. Once uploaded, these files can be easily accessed and managed within your GitLab project.
Summary
Now you have learned how to create two-level folders in GitLab. By following the steps above to create a folder structure, you can better organize and manage your GitLab projects. By using the powerful features of GitLab, you can collaborate, share and access files more easily, improving the efficiency and quality of your projects.
The above is the detailed content of How to create two-level folders in gitlab. For more information, please follow other related articles on the PHP Chinese website!