Home >Development Tools >git >How to save after editing in gitee
gitee is an open source code hosting platform. You can create your own warehouse on gitee, manage your own code through the warehouse, and realize collaborative development of code. It is very convenient to edit code on gitee. This article will introduce you to how to save it after editing in gitee.
1. Edit the code
First, log in to your gitee account and enter the warehouse you want to edit. In the code interface of the warehouse page, you can see the specific content of the code. You can click the edit button to enter the code editing page.
In the edit page, you can modify the code, such as adding or deleting code. After the modification is completed, if you want to save the modified code, you need to follow the steps below.
2. Save the code
After modifying the code, be sure to check whether the modified content is correct and ensure that there are no grammatical errors or logical error. If there is a problem with the code, it cannot be saved and needs to be repaired before saving.
After confirming that the code is correct, you need to submit the changes to the remote warehouse so that other collaborators can see your changes. Click the "Submit changes" button on the edit page to enter the page for submitting changes.
On the submit modification page, you can enter the modification submission information, such as the reason for the modification and the description of the modification. This information will be used as a record of this modification, so that other collaborators can understand your modification content.
After completing the submission information, click the submit button to submit the modifications to the remote warehouse. At this point, other collaborators can see your changes and review and discuss them.
3. Confirm modifications
After submitting modifications, other collaborators will see your modifications in the warehouse, and they can confirm the modifications or make modification suggestions. If you are the manager of the repository, you can review the changes and merge them into the master branch.
After confirming and merging the changes, the saving is complete.
Summary
After editing the code in gitee, you must save the modifications to the remote repository to ensure that other collaborators can see your modifications. To save the code, you need to submit changes, confirm changes, etc. In this way, the process of multi-person collaborative development can be smoother and work efficiency can be improved.
The above is the detailed content of How to save after editing in gitee. For more information, please follow other related articles on the PHP Chinese website!