Zero basic learning of SVN (1): Use of SCM and SVN (basic)

Source: Internet
Author: User

Today, I spent some time watching the svn video and found that many things still need to learn the basics. Although SVN was used before, I still gained a lot after watching the video today.

To learn about SVN, you must first know the software configuration Mangement (SCM) software version control management. We all know that there must be many different versions of a software from the beginning to the completion of the release. How can we manage these versions? As a tool of SCM, SVN provides us with a good solution.

 

Problems to be Solved by SCM:

1. How to put everyone'sCodeMerged.

2. multi-platform support.

3. Differences between versions

Core functions of SCM:

Version Control)

Common SCM tools:

CVS

SVN

VSS

ClearCase

Teamware

Learning SCM focuses on learning SVN. The following describes how to use SVN.

SVN is divided into clients and servers.

Server:

Server creation: Three Steps

Step 1: Build a core warehouse,ResposiBytes

CMD Console:SVNAdmin +Create
+Name

Step 2: Set permissions:SVNServer,PasswordName and password in

Step 3: Start the server:SVNServe-d-r+Directory Name/Relative Path.

Note: In this method, the console window cannot be closed; otherwise, the server will be closed.

Two server running modes:1,SVNServe
2,Apache HTTP

Common Client functions:

Download/update: update/Checkout extracts content from the repository.

Upload/submit: commit/checkin puts the content into the repository.

SVN is mainly used for Team Cooperation and remote development by many people. In this way, there is a problem at the same time, which may lead to some conflicts. How does SVN handle conflicts?

Generally, three methods are used:

1, Update the remote file to the latest local, and then add your modifications again.

2Give up on your modifications, and update the remote data to you. Use the latest version.

3Human communication.

The following is a summary of my video learning notes for quick review.

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.