Preface:
SVN server has been set up, access to the server through the command line is a way, for just contact SVN's small partners to learn some additional commands, this is not conducive to the popularization of SVN in the lab, SVN client is a good solution. SVN server and client workflow:
TortoiseSVN Introduction:
TORTOISESVN is a Windows version control system for the Apache Subversion Client tool. TORTOISESVN Installation:
TORTOISESVN Download Address
Install the direct installation prompt next.
Right-click the mouse in any directory to display the following, indicating that the installation was successful:
tortoisesvn icon Meaning:
Description
: A newly checked-out working copy is overloaded with a green checkmark. Indicates that the subversion state is normal.
: After you start editing a file, the status becomes modified, and the icon reload becomes a red exclamation point. In this way, you can easily see which files have been modified since you last updated your working copy and need to be submitted.
: If there is a conflict during the update, the icon becomes a yellow exclamation point.
: If you set the Svn:needs-lock property to a file, subversion will make this file read-only until you get the file lock. A file with this overloaded icon indicates that you must get the lock before editing.
: If you have a lock on a file and the Subversion state is normal, this reload icon reminds you to release the lock if you don't use the file, allowing others to commit changes to the file.
: This icon indicates that some files or folders under the current folder have been scheduled to be removed from version control, or that a version-controlled file under the folder is missing.
: The plus sign tells you that a file or directory will be scheduled to be added to the version control repository.
: A horizontal bar tells you that a file or directory is ignored by the version control system. This icon overload is optional.
: This icon indicates that the files and directories are not versioned, but are not ignored. This icon overload is optional. TORTOISESVN basic Operation: To connect to the SVN server:
Create a directory as a version control library, right-click on the mouse to select SVN checkout do the check operation.
You can check out the files for the server:
You can not delete the. svn folder, the. SVN hidden file is used for SVN server communication and version management, and if deleted, the folder becomes a different folder and cannot be used for version management.
to include files in the repository for the server:
After adding the file icon changes, indicating that the file has been added to the repository, but not really committed to the server's repository
submit file to repository:
Right click on the mouse to select SVN Commit
The following interface can be obtained:
Update operation:
Right-click SVN update on the file or directory you want to update to view the historical version:
Right-click on TortoiseSVN's show log on the file where you want to view the historical version
back to historical version:
OK, here you can master the basic operation of SVN roughly. It should be noted that in the team collaboration development, the first time to update the operation, and then make the corresponding changes, otherwise there will be conflicts.