Version management tool SVN introduction

Source: Internet
Author: User
Tags svn update

About SVN

SVN is a C/S architecture version management software that helps us to save all the historical versions of each file in the development process, so you can easily retrieve any historical status of the software. It is often used in daily development.

Installation use

1. Easy to install under Ubuntu

sudo apt-get Install Subversion

2. Check out the file, this command will download the above SVN server directory to the local folder below. You are prompted for a user name and password.

SVN Co http://

3. Add the file, tell the SVN server to add the file, and then you can use commit to pass it up.

SVN Add file name

3. Submit the update, where path-to-commit can be empty, note to be submitted in the working directory , that is, we first check out the root directory of the folder, then the success will prompt the updated version number. Finally write the-m comment, or pop up a nasty text box.

SVN commit-m ' notes '  path-to-commit

4. Update the directory, SVN update if there is no directory, by default, the current directory and all files under the subdirectory are updated to the latest version; SVN update-r test.php (Restore the file test.php in the repository to version 200)

SVN update-r m path

5. Review the logs to see all the commit records for test and the change version number.

SVN log Test

Version management tool SVN introduction

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.