git clone失败,没有任何明显的原因

时间:2020-06-09 13:57:15

标签: git clone debian-buster

git clone不会失败,但是也不会克隆任何东西:

Linux mybox 3.8.13.30 #1 SMP PREEMPT Wed Oct 26 17:53:58 CEST 2016 armv7l GNU/Linux

export GIT_CURL_VERBOSE=true
export GIT_TRACE=true

git clone https://github.com/vysheng/tg.git
15:43:35.988459 git.c:418               trace: built-in: git clone 
https://github.com/vysheng/tg.git
Cloning into 'tg'...
15:43:48.563749 run-command.c:643       trace: run_command: git-remote-https origin 
https://github.com/vysheng/tg.git

git --version
15:48:55.165056 git.c:418               trace: built-in: git version
git version 2.20.1

没有下载任何内容,甚至没有创建应该检查代码的目标文件夹。

我确实具有对当前文件夹的写权限,并且可以从网络上在同一网络上的同一台计算机上克隆同一存储库。

那会是什么?我还能检查什么?

ls到目录:

user@mybox:~/tmp/tmp$ ls -la 
total 8 
drwxr-xr-x 2 user user 4096 Jun 9 16:47 . 
drwxr-xr-x 7 user user 4096 Jun 9 16:45 .. 
user@mybox:~/tmp/tmp$ git clone github.com/vysheng/tg.git 
16:47:59.808142 git.c:418 trace: built-in: git clone 
github.com/vysheng/tg.git 
Cloning into 'tg'... 
16:48:00.516893 run-command.c:643 trace: run_command: git-remote-https origin github.com/vysheng/tg.git 
user@mybox:~/tmp/tmp$ ls -la 
total 8 
drwxr-xr-x 2 user user 4096 Jun 9 16:48 . 
drwxr-xr-x 7 user user 4096 Jun 9 16:45 ..

0 个答案:

没有答案