Document directory
- 1. Install the online storage
- 2. Create SVN reporsitory
- 3. Use svn-export
- 4. SVN use-submit
- 5. Synchronize SVN data
- 6. Summary
1. Install the online storage
Select a well-known network disk storage in China, such as Kingsoft Network Disk and 360 cloud disk. The registered account will provide several GB of space by default, download the corresponding network disk client management software (or use a browser), and log on with an account to upload and manage files. As shown in:
2. Create SVN reporsitory
Create SVN reporsitory based on the network disk and create a directory in the Network Disk, for example, "SVN" directory. Enter this directory and use tortoisesvn to create a repository (reporsitory)
After successful creation, the svn repository management file will be generated in the "SVN" directory. At this time, the svn service can use
3. Use svn-export
Create a project in the "project" directory, right-click the project and select SVN checkout. The configuration is shown in the following figure: Repository http://www.cnblogs.com/gaojun/admin/?svn=and projecprojecproject#click okto complete export.
If the prompt is successful, SVN can be used.
4. SVN use-submit
Upload a test file named textsvn.txt in the complete project.txt, right-click the "project" directory, and use "SVN commit" to submit the test result, as shown in:
If the prompt is as follows:
Indicates that SVN can be used.
5. Synchronize SVN data
Perform the same steps on other computers and use the same network disk account. In this way, the "SVN" directory is both an online update directory and an SVN database that is instantly synchronized. In fact, two SVN databases are created on the two computers. However, because of the existence of the Network Disk client and the powerful version control function of SVN, the two SVN databases are consistent at any time. (Reference: http://www.cnblogs.com/rinkky/archive/2012/05/20/2509392.html)
6. Summary
This method is better than Google. code is much faster, and Google. code is often blocked by our great "Great Wall". I personally feel that it is suitable for some small projects. If it is a big project, forget it !!)
In addition, we provide some tutorials on how to build and use SVN (source network, click to download)