About SVN
SVN is a C/S architecture version management software that helps us to save all the historical versions of each file in the development process, so you can easily retrieve any historical status of the software. It is often used in daily development.
Installation use
1. Easy to install under Ubuntu
sudo apt-get Install Subversion
2. Check out the file, this command will download the above SVN server directory to the local folder below. You are prompted for a user name and password.
SVN Co http://
3. Add the file, tell the SVN server to add the file, and then you can use commit to pass it up.
SVN Add file name
3. Submit the update, where path-to-commit can be empty, note to be submitted in the working directory , that is, we first check out the root directory of the folder, then the success will prompt the updated version number. Finally write the-m comment, or pop up a nasty text box.
SVN commit-m ' notes ' path-to-commit
4. Update the directory, SVN update if there is no directory, by default, the current directory and all files under the subdirectory are updated to the latest version; SVN update-r test.php (Restore the file test.php in the repository to version 200)
SVN update-r m path
5. Review the logs to see all the commit records for test and the change version number.
SVN log Test
Version management tool SVN introduction