Svn operation process and specification

Time:2019-10-19

Installation instructions:
Download path: https://tortoisesvn.net/downl…

Select the corresponding version:

To install the Chinese language pack:

Right click to enter setting settings, and select simplified Chinese.

instructions:

Check out items:

    If the project is already in the server's warehouse, you need to check it out locally. 

    First create an empty folder locally. Select the created folder and right-click to select SVN checkout.

Import project:

If the project is established locally and needs to be pushed to SVN, what should be done at this time? Right click to select the version library browser.

Be sure to get the lock before updating.

Submission:

When a new file is added, the new file will have a blue question mark (blue indicates the unknown file that does not belong to the version library, and the unknown file cannot be submitted).

First add, then submit.

To update:

In the process of multi person team development, classmate B has written the code and submitted it to SVN. If you want to get the latest modification, you need to select Update (get lock first, then update).

View log:

You can see what you did to the project at a specific time.

Version rollback:

If you change something but haven’t submitted it, you can use the restore function.

After we change the project and submit it, we can restore the file to the previous version by version rollback. Specific method: right click to update to version, select the version by viewing the log, and then roll back.

matters needing attention:

When using SVN for code merging:

1. [ENDIF] get lock first

2. [ENDIF] update

3. [ENDIF] line by line comparison with the comparison tool (beyond compare)

4. [ENDIF] if you not only modify the code, but also have new files, you need to add them.

5. [ENDIF] submit the code (be sure to add the modification information)

6. [ENDIF] release lock after closing (it will be released automatically generally)

Recommended Today

Netsh.exe Description of tools and command line switches

use Netsh.exe Tools that direct the context commands you enter to the appropriate helper, which then executes the command. A helper is a dynamic link library (. DLL) file that extends by providing configuration, monitoring, and support for one or more services, utilities, or protocols Netsh.exe Function of the tool. Helpers can also be used […]