[CODEVERSION--SVN] using TORTOISESVN for local code management

Source: Internet
Author: User
Tags tortoisesvn

Briefly

Here is a discussion of how to manage the code for personal projects of your own personal computer. is not related to the SVN server configuration.
Because in your own computer for personal projects, many times will also encounter a phased function to complete, generally consider the time node to compress the code into a package, a time-point flag, and then saved in the local folder. However, this approach is primitive, and as time migrates, many updates will not be remembered, so you need the help of a versioning tool for easy personal project management. And TortoiseSVN is a good choice, the use is very simple.
You can go to the TORTOISESVN official website to download the installation package for installation.

Code Warehouse Management

For example, there is a project to be managed, you can first put the project in a directory (for example, I will myprj this to manage the project file in the e-disk svn_test directory):

The myprj here is what I'm going to do with SVN. Version management data. Create a Svn_repo folder next to MYPRJ (which must be an empty folder) and create it as an SVN repository:

Right-click Svn_repo, select the Create repository here:

Then select OK in the popup dialog box to create the repository:

This is equivalent to the Svn_repo as a warehouse created successfully, you can see the original empty folder Svn_repo There are some auto-generated files. But at this time Svn_repo still just as a warehouse, just a shell, the warehouse is not put into the "grain".
The next step is to put the previous myprj content as "grain" into the Svn_repo this warehouse. First right click on Svn_repo, select the Repo-browser:

The following dialog box pops up and copies the URL: path:

Then right-click on the Myprj folder and select Import ...

The dialog box pops up, indicating which warehouse you want to store the myprj in, copy the URL of the previously copied Svn_repo to the URL of repository in the following dialog box, then click OK:

The following shows that the MYPRJ has been import into the Svn_repo warehouse:

Data Content Management

In fact, the previous part just built the warehouse, and the content which is useful to us is myprj content, this myprj content is our real concern.
At this point can be in any folder outside the warehouse location, such as the following in the D disk created a develop folder, right click on the space, select the SVN Checkout ..., indicating that the previously created warehouse content check to this location for development and update:

For example, still copy the URL of the previous warehouse, then click OK:

This will check the contents of the MYPRJ to this location:

Then in the D-Disk develop directory, you will see that there are files in the MYPRJ:

Subsequently, you can make changes to the files in the MYPRJ in the develop directory, submit updates, and so on.

[CODEVERSION--SVN] using TORTOISESVN for local code management

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.