Git push does not work when modified files are included in push, but are deleted when files are added or deleted

I have been using git for several months and never run into problems. Today I met my match. I have a Ubuntu 10.10 system (new system). I put my keys in place to access the server, and maybe ssh is fine. I just cloned my repositories. I can just add added / deleted files. However, when I try to click modified files, the click does not end. It hangs on the last line (starts with "Total")

If I wait 15 minutes or so, this will give me the following errors:

Write Error: Fatal Pipe Down: Remote Host Hangs Up Unexpectedly

I have tried clicking both a regular user and a sudo user. When I add a detailed flag to push, nothing.

I think this is an SSH error, but it completely puzzles me. Can anyone help?

+4
source share
1 answer

I am going to run a list of ideas here.

Is this a simple SSH or are you using for example. -o ProxyCommand or another tunnel?


  • I would check the client version, since you are reporting that you can do the same from other machines.

  • I will also try to create a package from the client to eliminate the transport from the analysis.

  • I would check the file permissions on the server (and out of space / quotas / temporary space for the user). Are you using the same user that works for other clients?

  • You can look at the problem at the stage of garbage collection on the server (using git config to make sure this does not happen).

  • Have you tried other protocols (git-daemon or smart http server?)

  • Could there be something locally (for example, a repository when synchronizing NFS or Dropbox or ...)?

+2
source

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


All Articles