uf123 发表于 2018-9-18 12:31:00

使用GIT获取GoogleCode过程

  1.在项目下,进入source/checkout ,提示:
Command-line access
  Option 1: Get a local copy of the fujuecom-apps-for-android repository with this command:
git clone https://fujue.com@code.google.com/r/fujuecom-apps-for-android/  To push your changes, authenticate with your Google Account and your generated googlecode.com password.
  Option 2: Stay authenticated with .netrc:
Add the following to your .netrc.  machine code.google.com login fujue.com@gmail.com password
  Make sure the clone URL doesn't contain your username:
  git clone https://code.google.com/r/fujuecom-apps-for-android/
  2.在本地目标文件路径中输入git clone https://fujue.com@code.google.com/r/fujuecom-apps-for-android/
  提示:error: Unknown SSL protocol error in connection to code.google.com:443while accessing https://fujue.com@code.google.com/r/fujuecom-apps-for-android/info/refs
  fatal: HTTP request failed
  3. 本地启动goagent
  并设置git的代理为:127.0.0.1:8087
  git config --global http.proxy "127.0.0.1:8087"
  4.重新下载, git clone https://fujue.com@code.google.com/r/fujuecom-apps-for-android/
  OK!

页: [1]
查看完整版本: 使用GIT获取GoogleCode过程