It is very easy to add folders to the repository on GitLab. This article will introduce you how to add a folder to the warehouse on GitLab.
First, log in to your GitLab account and open the repository you want to add the folder to.
Next, click the "Upload file" button;
Next, you will see a window called "Drag files here to add them to your project" Go here to add them to your project) area. Drag and drop the folders you want to add here. You can also click the "Choose a file" button to locate your folder.
When you drag the folders you want to add to the "Drag files here to add them to your project" area, you will see that GitLab displays a green folder icon below the area. This indicates that your folder has been successfully uploaded to the GitLab repository.
Finally, to make sure your folder displays correctly in the admin view, add a name to the folder under the "Commit changes" area and write a few words about what you uploaded. Description of the folder. You also have the option to add your own commit message.
After completing the above steps, you have successfully added the folder to the GitLab repository. If you need to add more files to the folder, just drag them into the folder.
In summary, adding folders to your repository on GitLab is very simple. In just a few steps, you can manage your own code base.
The above is the detailed content of How to add a folder to the warehouse on gitlab. For more information, please follow other related articles on the PHP Chinese website!