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.