2

A look of projects while downloading looks like this:

/usr/local/bin/git clone https://github.com/anyproject/project.git /var/folders/nc/fk4zxcg13w99jjkjfcv_1p3h0000gn/T/d20160909-5467-gcadxt --template= --single-branch --depth 1 --branch 1.7.0 --verbose
Cloning into '/var/folders/nc/fk4zxcg13w99jjkjfcv_1p3h0000gn/T/d20160909-5467-gcadxt'...
POST git-upload-pack (155 bytes)
POST git-upload-pack (164 bytes)
remote: Counting objects: 220, done.
remote: Compressing objects: 100% (191/191), done.
Receiving objects:  52% (115/220), 8.94 MiB | 1.79 MiB/s   s

Why does Git hang? It can continue eventually! I'm using MacOS.

Scott Weldon
  • 9,673
  • 6
  • 48
  • 67
Vyacheslav
  • 26,359
  • 19
  • 112
  • 194

1 Answers1

2

See this answer

VMware on NAT had this problem for me. Changing it to Bridged (replicate the state) fixed the issue.

Community
  • 1
  • 1
Phil
  • 1,200
  • 13
  • 17
  • After an hour of googling, this was the answer. Anyone have any idea why sharing the hosts IP (NAT mode) would cause git to bork? – hammus Apr 26 '18 at 23:17