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
--username=4myhappylife@gmail.com
--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
--username=luohuazju@hotmail.com
3. show logs
>svn log --revision HEAD
------------------------------------------------------------------------
r131 | luohuazju@hotmail.com | 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
>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
--username=4myhappylife@gmail.com
--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
--username=luohuazju@hotmail.com
3. show logs
>svn log --revision HEAD
------------------------------------------------------------------------
r131 | luohuazju@hotmail.com | 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