Unable to push to git Repository. It hangs after “Writing Objects: 100%”

后端 未结 4 1959
青春惊慌失措
青春惊慌失措 2021-02-19 10:58

I am running git daemon with the following command.

c:\\cygwin\\bin\\git daemon --reuseaddr --base-path=/cygdrive/S --export-all --verbose --enable=receive-pack
         


        
4条回答
  •  佛祖请我去吃肉
    2021-02-19 11:50

    I had the same (similar?) problem with cygwin git. After one cygwin's update it stopped working properly with remote git repos, both on linux and cygwin.

    At first it looked random and was hard to identify. Some commands worked, some failed. It looks like it was connected to the size of data being transferred.

    I believe it's a client-side problem with SSH in cygwin as other git clients can connect normally. For me solution was to install msysgit and choose at install its own SSH client, not cygwin's. Putty should work as well, I guess.

提交回复
热议问题