SVN command introduction

SVN command introduction

>svn help
>svn help add

1. how to import a project
>svn import project_directory svn_url --username=xxxx --password=xxxxx --message="test this message"
eg:
>svn import 4wargame https://sillycat.googlecode.com/svn/trunck/4wargame
[email protected]
--password=xxxxx
--message=test

2. checkout project
>svn checkout svn_url projectName --username=xxxx
eg:
>svn checkout https://sillycat.googlecode.com/svn/trunck/easygroovyplugin easygroovyplugin
[email protected]

3. show logs
>svn log --revision HEAD
------------------------------------------------------------------------
r131 | [email protected] | 2011-03-31 18:03:47 +0800 (Thu, 31 Mar 2011) | 1 line

test this message

4. show the differences
> svn diff --revision HEAD

5. show the SVN status
>svn status

6. check the svn log message
>svn log

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


猜你喜欢

转载自sillycat.iteye.com/blog/982506
今日推荐