Objective
Google provides us with a code-managed SVN server for free. First of all, I use the Win7 64 computer system, with VS2010 code development. Here the management code requires the following preparation (now is the latest version):
1. (SVN) tortoisesvn-1.7.12.24070-x64-svn-1.7.9 download Address link http://url.cn/FTvkSk Of course can also be downloaded at the official website
2.visualsvn-3.0.5 Download Address link Http://url.cn/G8CRXN Of course can also be downloaded on the website
3. Register @gmail's mailbox under Google
Content
1. The above two tools are downloaded and installed, in http://www.google.com.hk/to register the account.
2. After registering the mailbox, enter http://code.google.com/in the Address bar and confirm that the account number has been logged in.
3. Click Create a new project Http://code.google.com/hosting/createProject to enter the project creation page.
4. Make related input. Version control system chooses subversion. Source Code License Selection .
Other information looked at the fill. Of course, note that project name "separates three strings by two dash."
5. Now the page jumps to the new project, the interface is very familiar with it ~. = Click the "Source" tab directly,
The three marks in the above figure correspond to the following meanings:
(1) Project SVN address. If you use an SVN tool with an interface, fill in this address directly. Note that if the copyright notice is chosen for open source such as GLP, it is normal to check out the code without prompting for a password.
(2) The user name and password are prompted when the code is submitted. --user name, that is, Google account name (the full name of the registered mailbox), the password, you need to pay attention, not Google account password, but Google code for you to generate the password. Click on "Googlecode.com.password." can be obtained. The special note is that mainland users may need to "flip-Wall" (>. <), only one name "Hotspot Shield" is mentioned here.
(3) A list of items in a read-only state can be obtained by using this instruction wherever there is a net and two tools in the preface are installed.
6. Open SVN view
7. Click the folder where you want to share the code and then right-click, and then click on the TortoiseSVN, and click on the import. Then appear
Enter URL of repository:https://aehyok-lucene.googlecode.com/svn/trunk/
Then click OK
8. Enter username and password The password here is the second googlecode.com password in the preceding three tags.
So the code into the Google server Oh.
9. Now you can build a folder to download the code on the Google server Oh.
Now you just need to create an empty folder and then right-click
Then enter the code address
Click OK to download the code OH
Finally, the project opens to find that the code has been associated with the server in the VS2010.
If you want to update the code directly in VS, that is, get the latest code on the server, you can click Update.
If you want to submit the code in VS, that is, submit the locally modified code to the server, you can click Commit.
You can see that there is a show differences, that is, comparing the differences between the local file and the file on the server, this feature is really important in development.
Summarize
Of course I feel that the local code server is still the best. But now you can write your own code in the company, to the home to update the good, it feels great. Make a note, maybe later.