Windows SVN command line tool usage details (additional TORTOISESVN)

Source: Internet
Author: User
Tags svn svn update tortoisesvn
According to my memory, it seems Windows7 from the self with one SVNCommand-line tools. If your machine is not, don't worry. You can get the version of Subversion for Windows from http://subversion.tigris.org, installationThen there is the Svn.exe client tool based on the command line. The installer has added the PATH environment variable to the Svn.exe, and we can now use the SVN directly from the command line.

Now, the easy to use Open SourceProjects all over the world. Many of these tools provide the corresponding engineering source SNV download address, so this tool you almost know not. The following are typical examples of SVN usage.

One, about command-line tools SVN

If you don't know how to use the SVN command, you can query the following ways:
SVN help
Know the subcommand, but do not know the use of subcommand, you can also query:
SVN help CI

Common command formats and examples
Import Project
SVN import http://svn.chinasvn.com:82/pthread--message "Start project"

Export items
SVN checkout Http://svn.chinasvn.com:82/pthread

Export a "clean" project by exporting
SVN export Http://svn.chinasvn.com:82/pthread pthread

To clear a failed transaction
SVN cleanup

Make code modifications locally to check for modification status
SVN status-v
SVN diff

Updates (update) ServerData to Local
SVN update Directory
SVN update file

Increase (add) Local data to the server
SVN add file.c
svn add dir

Renaming and Deleting a file
SVN mv B.C BB.C
SVN rm D.C

Submit (commit) local document to server
SVN commit
SVN ci
SVN ci-m "Commit"

View Log
SVN log Directory
SVN log file

Two, about Visual svn tool TORTOISESVN

Download the Visual SVN tool (TORTOISESVN) at http://tortoisesvn.net/downloads.html. This tool is very easy to use, is a Windows visualization tool, especially to support the continuation of breakpoints.

Therefore, if you download a small SVN content, it is sufficient to use the command line tools that are available with Windows SVN.EXE above. However, when you download a big guy, you often download to the middle and lose contact with the server. If you download it again, it's very pathetic and often not. This is the case when I download the source tool for the LIBGDX game engine. That's why the tool was searched.

After downloading the installation, this tool is based on Windows resources ManagementThe form of plug-ins exists, very humanized. You just right-click a folder where you want to store the download, select "SVN Checkout ..." and then pop up a dialog box. After that, you enter your SVN resource address and it's OK. Also, this tool downloads very quickly ...

Note: on this page http://bbs.mountblade.com.cn/viewthread.php?tid=168300
There are a few screenshots, refer to it.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.