SVN command introduction

SVNcommandintroduction

>svnhelp

>svnhelpadd

1.howtoimportaproject

>svnimportproject_directorysvn_url--username=xxxx--password=xxxxx--message="testthismessage"

eg:

>svnimport4wargamehttps://sillycat.googlecode.com/svn/trunck/4wargame

[email protected]

--password=xxxxx

--message=test

2.checkoutproject

>svncheckoutsvn_urlprojectName--username=xxxx

eg:

>svncheckouthttps://sillycat.googlecode.com/svn/trunck/easygroovyplugineasygroovyplugin

[email protected]

3.showlogs

>svnlog--revisionHEAD

------------------------------------------------------------------------

r131|[email protected]|2011-03-3118:03:47+0800(Thu,31Mar2011)|1line

testthismessage

4.showthedifferences

>svndiff--revisionHEAD

5.showtheSVNstatus

>svnstatus

6.checkthesvnlogmessage

>svnlog

references:

http://hi.baidu.com/2maollm/blog/item/d3caa41c81d8098786d6b660.html

svn

相关推荐