Git clone hangs on "connection check"

OS - Professional 64-bit Windows 7

GIT for windows - Git -1.9.0 - Using Git bash

I'm having problems with "git fetch" all of a sudden out of nowhere.

Sometimes git.exe will fail, and sometimes "git fetch" just hangs.

So I decided to start from scratch.

I uninstalled Git for Windows and reinstalled it (assuming all defaults), restarted the machine. Created a new folder and did the following

$ git clone git@github.com:myid@example.com/myproject.git
Cloning into 'myproject'...
Enter passphrase for key '/c/Users/myid/.ssh/id_rsa':
remote: Counting objects: 287209, done.
remote: Compressing objects: 100% (86467/86467), done.
remote: Total 287209 (delta 188451), reused 287209 (delta 188451)
Receiving objects: 100% (287209/287209), 168.89 MiB | 328.00 KiB/s, done.
Resolving deltas: 100% (188451/188451), done.
Checking connectivity...

It always just hangs during the "connection check"

I checked the car for viruses / trojans that you have, and no threats were found.

This happens both in the workplace and at home - so this is probably not the Internet.

I am not sure how to continue or what to try next.

+4
2

known_hosts ~/.ssh, . .

+7

git GIT_CURL_VERBOSE=1, , .

0

Source: https://habr.com/ru/post/1548585/


All Articles