git:克隆到'无论什么'

时间:2017-04-10 13:02:18

标签: git

我试图检查并构建源代码。我运行这个git命令并接收后续输出:

> git clone https://github.com/LMDB/lmdb.git 
Cloning into 'lmdb'...

但没有任何反应。没有在任何地方创建lmdb。其他软件也会发生同样的事情。我做错了什么?

我试过了:

> setenv GIT_TRACE 1
> git clone https://github.com/LMDB/lmdb.git
Defaulting to tracing on stderr...
09:14:28.588438 git.c:348               trace: built-in: git 'clone' 'https://github.com/LMDB/lmdb.git'
Cloning into 'lmdb'...
09:14:28.652990 run-command.c:347       trace: run_command: 'git-remote-https' 'origin' 'https://github.com/LMDB/lmdb.git'

1 个答案:

答案 0 :(得分:0)

我得到同样的东西。我位于代理服务器后面,因此我通过配置GIT的代理服务器设置来解决此问题:

git config --global http.proxy <proxy server URL>
git config --global https.proxy <proxy server URL>
相关问题