Git fetch/pull/clone hangs on receiving objects

后端 未结 5 1504
心在旅途
心在旅途 2020-11-30 02:45

When fetching or pulling from git repositories, or cloning a repository, I get to this point:

remote: Counting objects: 6666, done.
remote: Compressing obje         


        
5条回答
  •  一生所求
    2020-11-30 03:21

    Looks similar to mine problem. Git seemed to hang on fetch or push after a certain short amount of time. I can advice you to put in ~/.ssh/config:

    Host *
    
    ServerAliveInterval 60
    

    I have a MBP with also mountain lion. I hope this timeout is the cause for your problem. (After thirty or forty minutes or so, I noticed that it continued.)

提交回复
热议问题