2

This issue is making me crazy, I've installed Git Exensions, GitHub and even SourceTree on Win 64bit but I cannot pull / push anything, always receiving the bellow errors. I can clone public repos but then I try to sync I am stuck again.

"C:\Program Files (x86)\Git\bin\git.exe" pull --progress "origin" 
fatal: Full write to remote helper failed: Invalid argument
Done

SourceTree error

git -c diff.mnemonicprefix=false -c core.quotepath=false fetch origin
fatal: Full write to remote helper failed: Invalid argument

Completed with errors, see above.

Thank you

Jim
  • 2,760
  • 8
  • 42
  • 66

1 Answers1

1

I mentioned the origin of that error message in "Git push gives Error reading command stream".

  • If it is limited to a specific repo, it can be an issue on the remote side (like GitHub having trouble servicing some repos)
  • If it is for any repo, check your antivirus to see if it isn't blocking git.exe, as in this answer.
  • you can see also that error message (as in this comment) when the remote repo has receive.denyNonFastForwards set in its config.

I suggested that the installed Git the didn't work with the GUI.
The goal is to see if the portable one, once referenced by the OP's %PATH%, works better when called by the GUI apps.

The OP Jim commented:

It partially solved my problem.
SourceTree start working after re-downloading portable Git.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • I am testing the GitHub on Win7 on another PC with the same repo's and It sync(pull/push) without any issue... Is there a chance that other Git apps are conflicting ? – Jim Dec 17 '13 at 08:26
  • @Jim try uncompressing a portable Git installation (https://code.google.com/p/msysgit/downloads/list?can=2&q=portable&colspec=Filename+Summary+Uploaded+ReleaseDate+Size+DownloadCount), and adding that in your %PATH%, in first position, in order to see if the issue persists in command line. – VonC Dec 17 '13 at 08:38
  • I check that without downloading the above Git installation (which apparantly has been installed previously with some of the above packages) I can sync flawless with repo via cmd... but not through Soft GUI – Jim Dec 18 '13 at 04:52
  • @Jim iok try to remove (uninstall) the "`C:\Program Files (x86)\Git\`", and add your portable version in your path, then. – VonC Dec 18 '13 at 06:50
  • Why?.... As I mention I didnt used the portable version but installed one which is working fine.... but not the GUI apps... – Jim Dec 18 '13 at 09:25
  • @Jim because the installed one doesn't work with the GUI. The goal is to see if the portable one, once reference by your `%PATH%` works better when called by the GUI apps. – VonC Dec 18 '13 at 09:27
  • I am marking it as answered because it is partially solved my problem... SourceTree start working after re-downloading portable Git . Thanks – Jim Dec 20 '13 at 07:55
  • @Jim Ok, I have included your conclusion in the answer for more visibility. – VonC Dec 20 '13 at 08:00