Version management software

Source: Internet
Author: User

Software companies are most important is the code of the software, the code is the result of the hard work of the programmer. Control of the code is very important, every day programmers write new code, modify what code, upgrade released a version, hope all need to be recorded, version management software at this time to play a role. In general, we see on the various Ides of the integrated version management software has cvs,svn,git, using aspects of the following 2 more, the first seems to be to do rights management above, the above 3 are open source software.

General, small projects, you can consider using SVN to manage, have a good graphical interface, and Eclipse support is better. svn-subversiongit almost, but git local build svn requires a client and a serverwindows< Span lang= "ZH-CN" requires a tortoisesvn direct next step to install, the server installed a visual visualsvn, Standard version, the next step.

svn server, there are several projects, one is repository< Span lang= "ZH-CN" > One is the customer, there is a group, repository is the warehouse, customer and group functions are mainly to the user's rights management. repository warehouse need to build their own, the general direct default, there are a few notes, there is a single (including , permissions do not set, can be modified, and finally produce a url< Span lang= "ZH-CN".

General right- tortoise can be, there is a checkout, there is a Tor function options, first checkout, you can establish a connection with the server,URL Just fill in the top one. Then you can create the file, modify the file, right-click Tor to perform the commit update, and so on.

When assigning multiple users, a user usually arrives at the first update, then does the work, then completes a small task, can submit. At this point, there may be several situations, one is a and B user commits to modify the different lines, then the first user submitted, successful, after the submission of the user prompts need to update and submit, follow the instructions, themerge success. However, if two users are operating on the same line, then the second committed user even if the update still "failed", and there will be several files, to prompt the user to change the contents of the file before and after the right button has a function, edit the conflict, the conflict line has a highlight operation, Or move to the next line or the previous line, and so on.

Generally we useSvn, mainly and someIdeor a text editor to use, such asEclipseThe combination, there is a plugin that solves this problem, calledSubclipse, download the unzip and put it inEclipseof the installation directoryDropinDirectory can be. Note here that you can also create aLinkTypes of files, such asSubclisp.linkThe file with the contents ofPath=Path to the file ( Note the path \/< Span lang= "ZH-CN" >,eclipsewindows inside the configuration can see svn64svn inside the svnclientpurejava can be. In showsvn Repository, point out, add svn Repository, checkout, ready-made workspace, can be eclipse complete the deployment. Right-click on the workspace of the project, in team

More generally, a trunk ( trunk, mainly a project's growth schedule ),branches ( mainly for some foliage of the project, or some individual operations, such as customized requirements for different customers of similar projects) are established. ), The directory of the tag (primarily the published version).

This time check out, mainly for a module, such as trunk or branches, in each module to update, modify, add, when the editor is good, right click on a branch | Tag function, get a version 1.

Consider a situation, the trunk of the continuous upgrade function, version iteration, but because the user volume is huge, the previous version suddenly found that there is a bug, then check out the tag in the previous version 1, the Branches must have a file, and then right- click in the tag function, the above position needs to be filled in, is the branches inside some files, which is a successful conversion.

In branch fix Bug complete, first commit, then branch \ tag to tag tag, note the file name fill, can.

You can see the modified new tag by toggling in the branch . Note that the tag is used to store release versions. In addition, the modified code still needs to be integrated into the trunk to Prevent subsequent versions of this problem. This is possible with the merge feature.

In the workspace, you can use the team 's shared function to create a version control of the project, and note the name of the file.

Use Note:

There is no right-click menu in Windows, you can delete it in the registry, the software that contains Tortouisesvn , restart your computer, and install it again.

Version management software

Related Article

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.