Use SVN command under "SVN" Linux system

Source: Internet
Author: User
Tags svn update

Get help

A. View all SVN commands:

Command: SVN help

B. See the Help for one of the SVN commands:

Command: SVN command help

Example: SVN checkout Help

Common commands:

Checkout (Checkout) command--downloads and associates resources from SVN to a local directory. You can use the checkout abbreviation CO, the abbreviation of the command can be viewed through SVN help.

Command: SVN checkout SVN address [local address]

Example: SVN co http://192.168.0.27/svn/src

This will download the current directory for the resource under the SVN address. If you need a different directory, you can add a local path after the SVN address

Info command--View SVN information, remember that it must be valid in the directory containing SVN resources

Command: SVN info

For example: SVN info--You can enter to view

Update command-Updates the local SVN resource to the latest version. The abbreviation for this command is up

Command: SVN update

For example: SVN up-This will update the latest version of SVN resources to local.

Commit command--submit the locally modified resource to SVN for download by someone else. The abbreviation for this command is co, which must be up before commit.

Command: SVN commit-m "LogMessage" *

For example: SVN co-m "Fill in the Log information" *-this will enable the local directory to change the resources to upload to the SVN server

Status command--use this command to see which resource files have changed. The abbreviation for this command is St, usually up to the latest version before commit, then use the St command to see what files have been modified, and then submit

Command: SVN status

Example: SVN St

  

Use SVN command under "SVN" Linux system

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.