今天使用了一下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代码
- If you plan to make changes, use this command to check out the code as yourself using HTTPS:
- # Project members authenticate over HTTPS to allow committing changes.
- svn checkout https://projectname.googlecode.com/svn/trunk/ projectname --username Arno.Zheng
- When prompted, enter your generated googlecode.com password.
- Use this command to anonymously check out the latest project source code:
- # Non-members may check out a read-only working copy anonymously over HTTP.
- 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的人来说,就是一个福利,呵呵。