SVN project management and version control

In IT project management, svn is often used for version control and team collaboration development. Among them, in addition to svn, the version control tools also include cvs and git. Each of the three tools has its own characteristics, and the development sequence of cvs -> svn -> git. Svn is the abbreviation of subversion. It is an open source version control system. There are many tutorials
on the Internet for downloading and how to install and configure. In most cases, we only need to install the client (unless you are the leader of project management). Here This article does not go into detail.

1. Project management
General IT project svn is mainly divided into

  1. docs, mainly documents, including product/requirement prototype, UI design, project plan, project weekly report, system design, system test
  2. sourcecode, mainly code, including branch code, main code, etc.

insert image description here

2. Version control

One of the functions of version control is to isolate changes on a certain development line, which is called a branch.

Branches are often used to develop new features without affecting the development of the trunk. That is to say, compilation errors and bugs of the code on the branch will not affect the trunk. Then after the branch is stable, it can be merged into the trunk again.

One of the major functions of the version management system is to mark a specific version so that the environment of a certain version can be rebuilt at any time. The action of this marked version is tagging.

svn doesn't require special commands to branch or tag. It uses a "light copy" method, which is somewhat like a unix hard link. It doesn't make a full copy, but instead creates an internal link to point to a specific version. Based on this, creating branches and tags (tags) is very fast and requires almost no additional warehouse space.
insert image description here
3. Commonly used functions
Check out the project: use checkout to download the source code of the project on svn to the local

references:

[1] svn branch (branch) and label (tag) management
[2] svn directory structure - project management - svn directory structure
[3] svn simple instructions

Guess you like

Origin blog.csdn.net/qq_44924694/article/details/130205755