It is common for developers to encounter problems with their computer and corporate computer code sharing. For example, some common libraries, pictures and other items in the basic general.
Some project libraries, such as Google Code, are difficult to access on GitHub's mainland, often unable to connect, or slow to death. There is also the need for open source, which is not allowed for the company project.
Solutions. (Simultaneous svn local and local area network)
1. Use a network disk. I use Baidu Network disk (FAST)
2. Set up an SVN server locally. I'm using Subversion. Forget how it was installed. Go to svn to download a version, then the installation will generate a Subversion folder
--------------------This address is also slow to access, quoting someone else's way, need to do it under your own hands-----------------------------------------------
Subversion:
http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=11151&expandFolder=11151&folderID= 91
I downloaded the 1.6.0 Version: Setup-subversion-1.6.0.msi
3. Using SVN client, various versions have, I installed with Eclipse, I went to find the address installation, the client version also has.
Subclipse 1.8.x Update site-jar:file:/c:/users/yanlili/downloads/site-1.8.22.zip!/
4. Create the SVN repository. can refer to other people's client method, here I am also code.
----------------------------------forget how to match the original, move some other people's methods, but also to their own forgotten------------------------------------
2.2. Create and import a repository
Two ways: command line or use graphical management tool.
Command line mode:
1. Build the version library dev
Svnadmin Create D:/svn_repository/dev
2. Import the project to the repository
SVN import D:/dev file:///d:/svn_repository/dev/-M "Initial import"
3. Display Repository Contents
SVN list file:///d:/svn_repository/dev/
-----------------------------------------------------------------------------------------------------
------------------------------------Create the SVN service---------------------------------------------------
SC create Svnserve binpath= "C:\develop\Subversion\bin\svnserve.exe--service-r C:\develop\Subversion\Repository" start= Auto Displayname= "Subversion Server" depend= Tcpip
"C:\develop\Subversion\Repository" My repository name, I've got one more step here. Serve service you can refer to creating a repository method
------------------------------------------------------------------------------------------------------
5. Submit the code to SVN. Key )
Submit file:///to your address
6. Baidu Cloud Disk Synchronization C:/develop/subverson entire folder (later to another computer or re-assemble the bat file under the directory directly)
7. If you want to enable SVN server on LAN, ask colleague to submit
net start Svnserve (The SC create svnserve you created with SC is actually the service ID)
net stop Svnserve
8. Subsequent use of direct commit or other normal SVN methods can be
Share the address of my entire project.
Http://pan.baidu.com/s/1i324FjR, for reference only.
Personal code Management--SVN