gitee is a well-known code hosting platform in China, and many developers use it to manage their own code warehouses. Creating a new warehouse is one of the basic operations of using gitee. This article will introduce how to create new files in the warehouse.
Step one: Enter the warehouse
First, click "My Code" on the main page of gitee. You can see all the warehouses you own and select the warehouse where you need to create a new file.
Step 2: Enter the file list
On the homepage of the warehouse, you can see the basic information of the warehouse. Swipe down the page to find the "Code" tab. After clicking "Code", the page will enter the file list.
Step 3: Create a new file
In the file list, you can see all the files and folders that already exist in the warehouse. To create a new file, you can find a "New" button in the upper right corner, click on it, and then select the "File" option.
In the new file page that opens, you need to fill in the file’s name, description, content and other basic information. Among them, the file name and file content are required. After filling out the form, click the "Submit New File" button at the bottom of the page to complete the creation of the file.
Step 4: Edit the file
If you need to edit a file that has been created, you can find the file in the file list, and then click on it to enter the details page of the file. In the details page, you can see the specific content of the file. If you need to modify the file content, you can click the "Edit" button on the upper right side of the page.
In the edit page, you can modify the file content. After completing the modification, click the "Submit Modifications" button at the bottom of the page to save the modifications.
Summary
The above are the specific steps for creating a new file in gitee. It should be noted that when creating a new file, you need to fill in the necessary basic information and ensure the correctness and legality of the content. When editing files, you also need to pay attention to the correctness and legality of the content. Through these simple operations, we can easily manage and maintain our own code warehouse and improve code development efficiency.
The above is the detailed content of How to create a new file in the warehouse in gitee. For more information, please follow other related articles on the PHP Chinese website!