下载google code中源码的几个工具

Google code 一般以三种命令行方式提供源代码,格式如下:

[plain] 
[plain]
[plain]
  1. hg clone https://code.google.com/p/xxx/
  2. git clone https://code.google.com/p/xxx/
  3. svn checkout https://code.google.com/p/xxx/
[plain] hg clone https://code.google.com/p/xxx/ git clone https://code.google.com/p/xxx/ svn checkout https://code.google.com/p/xxx/

可以使用三个工具分别进行源码获取:TortoiseHg、TortoiseGit、TortoiseSVN。需要的童靴请google之。

此外也可使用 进行 git clone 。

注:多数情况下载会出现问题,把 https:// 改成 http 即可。

使用示例:

[plain]

  1. # Non-members may check out a read-only working copy anonymously over HTTP.
  2. svn checkout http://deguang-tickets-helper.googlecode.com/svn/trunk/deguang-tickets-helper-read-only
# Non-members may check out a read-only working copy anonymously over HTTP. svn checkout http://deguang-tickets-helper.googlecode.com/svn/trunk/deguang-tickets-helper-read-only
工具安装完成后右键菜单会如下图所示:

点击上面的红框如下图,1处填写地址,点击2弹出图三中的版本信息,最新版本号为10,填写在3处,点击OK即开始下载。

经验分享 程序员 微信小程序 职场和发展