Subversion is a free open source source code management system (SCM) like CVS, Perforce, ClearCase etc. In this simple 5 minutes guide you will know about some key commands to quickly get started with subversion from ground zero.颠覆罪是一个自由开放源码的源代码管理系统(供应链管理)一样,个人简历, perforce , ClearCase的等在这简单的5分钟,引导你就会知道有关的一些关键命令,以尽快开始与颠覆从地面为零。 You may want to print a copy for quick reference.您可能想打印一份为快速参考。

How to create a subversion project? 如何创建一个颠覆的项目呢?
You need to be on the same machine as the repository and know the location of the repository.你要在同一台机器上,作为存放和知道的位置公布。 Then execute the following command:然后执行以下命令:
svnadmin create /repository/project_name –fs-type fsfs svnadmin创建/储存/ project_name -财政司司长型fsfs

How to checkout project / directory / file(s) from subversion? 如何结帐项目/目录/文件( )由颠覆呢?
svn checkout http://repository_host_name/path/project_name [project_name] svn结帐http://repository_host_name/path/project_name [ project_name ]

Notes:注释:
In the optional second parameter you can specify the directory to download to.在可选的第二个参数,你可以指定目录下载。
You can specify a directory or even single files using this command.您可以指定一个目录或什至单一文件使用此命令。

How to update your copy with the latest source code from repository? 如何更新您的复制与最新的源代码从存放?
svn update project_name svn更新project_name

Notes:注释:
You do not have to specify the url of the repository because the information is already stored in the directory which was create during checkout (see above).你不须要指定的存放,因为信息是已存储在目录中被创建在结帐(见上文) 。
On linux systems you may be prompted for a password.在Linux系统可能会提示您输入密码。

How to commit changes to the repository? 如何承诺更改为存放?
To commit any changes to the repository you must specify a comment (hopefully) describing the changes.作出承诺的任何变动都需要存放您必须指定一个评论(希望)描述的变化。
svn commit -m message svn承诺-米讯息

Notes:注释:
This commits all the changed files to the repository.这一承诺的所有改变,档案公布。
The comment should be enclosed in double-quotes ( " )评论应包含在双引号( “ )

How to get status of a subversion projects? 如何获得的地位,颠覆项目?
svn stat project_name svn统计project_name

If you want to get detailed status of your project then use:如果你想获得详细的地位,您的项目,然后使用:
svn stat –verbose svn的统计详细

How to add files to a project? 如何将档案新增的一个项目?
svn add file_name svn添加FILE_NAME的

Then you must commit to propagate the changes to the subversion server.那么你必须承诺宣传的变化,以颠覆服务器。

How can you rename a file in subversion? 你如何能重命名文件在颠覆呢?
svn rename old_file_name new_file_name svn重新命名old_file_name new_file_name

Again you must commit to propagate the changes to the subversion server.再次,你必须承诺宣传的变化,以颠覆服务器。

With these simple commands you can effectively use subversion for most purposes.与这些简单的命令,您可以有效地利用颠覆对于大多数的目的。

Note: These documents have been adapted from our internal documentation wiki which has been contributed by several persons.注意:这些文件已调整从我们的内部文件的wiki已经作出贡献的若干人。