The use of svn

1, Why learning svn
(1) computer failure, lost files are not backed up
(2) Due to staff turnover, resulting in some data is lost
(3) how do I know public information at hand is not the latest version of it?
(4) the state wants a retroactive few months ago, but found that the version of the file has been deleted as spam
(5) distribution of staff in both developed and how synchronized version
(6) and B two modifications for different purposes the same document, B is submitted after armor submitted, resulting in armor modify the contents lost
2, svn is what
an open source version control software
can be set up on the Apache, the most commonly used client is TortoiseSVN (referred TSVN)
3, svn application environment
server: CollabNet sVN server side installation package (containing the Apache2.2) recommended TortoiseSVN (hereinafter referred to as the TSVN)
can be read by TSVN, the write operation can be performed by the read operation IE browser
by various plug-ins and integrated development tools
4, the client installation
setup files:
TSVN client:
TortoiseSVN-1.6.8.19260-win32-svn-1.6.11.msi
TSVN Chinese language pack:
LanguagePack_1.6.8.19260-win32-zh_CN.msi
all choose the default installation after installation is complete, restart the computer
TSVN right-click menu in Windows Explorer integration, not have their own window interface

5, svn use - Create repository
in SVN server operating
new file in the appropriate folder within a folder, used to store data
in a new folder, right click and choose "TortoiseSVN- in Create repository", TSVN will this folder establish some control file. Figure
The use of svn
6, svn use - detected
"detection" for the first time to download the client data repository on the SVN server from the client create a new folder for storing downloaded data
folder right click on the new document, select "SVN Checkout ..."
The use of svn
in the pop-up window "repository URL" fill in at the repository access address, such as: http://10.50.22.35:8080/svn/XXX department / XXXX project / click "OK" starts sVN server to download data
The use of svn
7, svn use - update
"update" from the sVN server for the client to download the latest version
in the sVN controlled by a layer folder (or folders within the margin) right click and select "sVN update" TSVN automatically comparing different revisions of the folder client and server, and download the latest version to
The use of svn
8, svn use - submit
"submit" to upload changes to the client to the sVN server
in under sVN control of a layer folder (or blank folder, or a file) right click and select "SVN submit ..."
The use of svn
TSVN automatically checks the folder client changes, and the "information" that are listed in the pop-up window "change list" column in the pop-up window Write a comment on this submission for future retrospective
click "OK" will change the client to the server to upload
The use of svn

Guess you like

Origin blog.51cto.com/14473726/2451735