Portál AbcLinuxu, 23. července 2025 18:05
root@raspberrypi:/home/pi# git clone --depth 1 --branch v1.8.2-rc1 --single-branch https://github.com/docker/docker.git Cloning into 'docker'... root@raspberrypi:/home/pi#Nic se nestahuje, a adresář není vytvořen. Takhle to dopadne s jakýmkoliv "git clone" Nevíte někdo kde by mohla být chyba?
Řešení dotazu:
pi@radio(rw):~$ git clone --depth 1 --branch v1.8.2-rc1 --single-branch https://github.com/docker/docker.git Cloning into 'docker'... remote: Counting objects: 2481, done. remote: Compressing objects: 100% (2264/2264), done. remote: Total 2481 (delta 95), reused 1750 (delta 71), pack-reused 0 Receiving objects: 100% (2481/2481), 7.54 MiB | 534.00 KiB/s, done. Resolving deltas: 100% (95/95), done. Checking connectivity... done. Note: checking out '28220acecc4c9cc26e7c669190c7cda2d51d753b'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b new_branch_name pi@radio(rw):~$
Takhle to dopadne s jakýmkoliv "git clone" Nevíte někdo kde by mohla být chyba?
Podle mne to znamená i jiný server a to že git appka je v zádeli.
git clone --depth 1 --branch v1.8.2-rc1 --single-branch https://github.com/docker/docker.git --progress --verbose --ipv4 18:40:12.544424 git.c:371 trace: built-in: git 'clone' '--depth' '1' '--branch' 'v1.8.2-rc1' '--single-branch' 'https://github.com/docker/docker.git' '--progress' '--verbose' '--ipv4' Cloning into 'docker'... 18:40:12.593378 run-command.c:350 trace: run_command: 'git-remote-https' 'origin' 'https://github.com/docker/docker.git'
petr@notebook:~$ nslookup github.com Server: 192.168.1.1 Address: 192.168.1.1#53 Non-authoritative answer: Name: github.com Address: 192.30.253.112 Name: github.com Address: 192.30.253.113
root@raspberrypi:/home/pi# nslookup github.com Server: 77.48.100.254 Address: 77.48.100.254#53 Non-authoritative answer: Name: github.com Address: 192.30.253.113 Name: github.com Address: 192.30.253.112 root@raspberrypi:/home/pi# ping github.com PING github.com (192.30.253.112) 56(84) bytes of data. 64 bytes from 192.30.253.112: icmp_seq=1 ttl=48 time=129 ms 64 bytes from 192.30.253.112: icmp_seq=2 ttl=48 time=129 ms ^C --- github.com ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1000ms rtt min/avg/max/mdev = 129.840/129.912/129.984/0.072 ms root@raspberrypi:/home/pi# git clone --depth 1 --branch v1.8.2-rc1 --single-branch https://192.30.253.112/docker/docker.git --progress --verbose --ipv4 19:24:00.983641 git.c:371 trace: built-in: git 'clone' '--depth' '1' '--branch' 'v1.8.2-rc1' '--single-branch' 'https://192.30.253.112/docker/docker.git' '--progress' '--verbose' '--ipv4' Cloning into 'docker'... 19:24:01.031494 run-command.c:350 trace: run_command: 'git-remote-https' 'origin' 'https://192.30.253.112/docker/docker.git'
root@raspberrypi:/home/pi/naemon# apt-show-versions |grep stretch |wc -l 511 root@raspberrypi:/home/pi/naemon# apt-show-versions |grep jessie |wc -l 65
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.