Installation and usage instructions for SVN client under Linux __linux

Source: Internet
Author: User
Tags svn svn client
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.