今天使用了一下google svn

今天使用了一下google svn。以下是开通的步骤:

1、需要有个google account,没有的话去申请个https://www.google.com/accounts/ManageAccount,并登录。

2、进入Google Project Hosting,http://code.google.com/hosting/

3、点created a new project。

4、填写相关的信息后,Create Project。

5、创建项目后进入项目管理界面,点击导航的Source,有如下信息

XML/HTML代码

  1. If you plan to make changes, use this command to check out the code as yourself using HTTPS:   
  2. # Project members authenticate over HTTPS to allow committing changes.   
  3. svn checkout https://projectname.googlecode.com/svn/trunk/ projectname --username Arno.Zheng   
  4. When prompted, enter your generated googlecode.com password.   
  5. Use this command to anonymously check out the latest project source code:   
  6. # Non-members may check out a read-only working copy anonymously over HTTP.   
  7. svn checkout http://projectname.googlecode.com/svn/trunk/ projectname-read-only   

点击googlecode.com password进入获取SVN密码。

注意:地址有两个,不一样的,一个是https: ,另一个是http:

我起初是用了http:,结果代码传不上去。结果从网上search了一下,原因是这个原因。

给其他人使用的时候用http:,project member & owner使用的是https,后面这个需要使用密码的,而http:是read only的。

帐号是google account

密码是刚才获取的密码。

project member由owner添加。

google svn对于没有自己的svn host的人来说,就是一个福利,呵呵。

posted @ 2008-12-26 15:27  Unity外包团队  阅读(224)  评论(0编辑  收藏  举报