About the use of svn

In some projects we will use the tool TortoiseSVN.

How do we use it?

 1. How to pull the code on svn?

        1. Right-click on the file and select SVN checkout...;

        2. Enter the checkout page, paste the svn warehouse address, set the local address to save and click OK to pull it;

        3. After completion, our code will be pulled locally.

Specific steps are as follows:

        1. Right-click and select SVN checkout...;

        

         2. Enter the checkout pull page, fill in the project address, save path according to the steps, and finally click OK;

        

        3. At this time, our svn code is pulled locally.

        

2. How to push the locally modified code to svn?

        1. Find the file we modified. [ If our file has been modified, an exclamation point will appear in front ], which means that our file has been modified;

        2. Next, we click SVN Update first to perform an update to avoid conflicts;

        3. Then click SVN Commit to submit.

Specific steps are as follows:

        1. After completing the code modification, a red exclamation mark appears, indicating that it has been modified;

        

         2. Select the file we modified, right-click, and in the selection column, first select SVN Update to perform an update;

        

         3. Then select SVN Commit to submit;

                In the first red box, fill in the information we want to submit;

                The second red box selects the file we modified;

                Finally click OK.

        

        Then this pop-up window appears;

        

        Wait for loading to complete and click OK.

When we reach this point, the modified files are pushed to the svn repository.

Guess you like

Origin blog.csdn.net/m0_66675766/article/details/130102593