Why is there no answer using the git protocol to clone the project?
I'm trying to clone a branch Linux
from git://git.kernel.org
to my local machine:
# git clone git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux -b perf/core
Cloning into 'linux'...
But there is no answer. Use the tcpdump
and tags Wireshark
to check the captured packets:
We can see that the connection has been TCP
established. But after the client sent the request with help git smart protocol
, there was no response.
Can anyone provide some hints?
Update:
(1) As suggested by @MariaInesParnisari, using a flag --verbose
, but it doesn't show more information:
# git clone git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux -b perf/core --verbose
Cloning into 'linux'...
Looking up git.kernel.org ... done.
Connecting to git.kernel.org (port 9418) ... 147.75.110.187 done.
(2) Replace the protocol https
, it worked:
# git clone https://git.kernel.org/pub/scm/linux/kernel/git/acme/linux -b perf/core --verbose
Cloning into 'linux'...
POST git-upload-pack (gzip 25015 to 12570 bytes)
remote: Counting objects: 5287534, done.
remote: Compressing objects: 100% (807310/807310), done.
source to share