One, how to install the SVN client
Centos:yum install-y Subversion
Ubuntu:apt-get Install Subversion
Ii. How to use the SVN client
Command as follows: 1.export
Use this feature to obtain a working copy without SVN control information, the exported file does not have an. svn file and cannot be directly executed.
2.import
Import the local file to the server.
3.cleanup
When a subversion operation is interrupted, some residual operational information remains in the working copy, and cleanup is required to work again.
4.status
View the status of files and subdirectories under a directory in the working copy.
5.check out
Remove the existing files from the SVN library.
6.commit
Submit the modified files or newly added files in the working copy to the server to make the changes come into effect, and then the others will update you to get the changes you have made.
7.add
Add a new file to the SVN library.
8.delete
Delete false or unwanted files.
9.update
Get other users to make changes to the file, merge with the changes to their files, and make sure that the local files are always up to date.
10.log
View the history of a directory or a file.
11.diff
Compare the changes in a file in the SVN library with a different version.
12.revert
Restores files that have been added or modified in the working copy that have not yet been submitted.
13.merge
Will revert to the specified version by submitting the version in the SVN library.