git.exe拉出错误:无法生成git:无效参数 [英] git.exe pull error: cannot spawn git: Invalid argument

查看:270
本文介绍了git.exe拉出错误:无法生成git:无效参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我和图片上的错误完全一样.

I have an error exactly as it's on the picture.

尝试各种设置,谷歌搜索,然后重新安装. Git pull在TortoiseGit中不起作用,但是我可以进行提交和推送.

Tried various settings, googled, reinstalled. Git pull doesn't work in TortoiseGit, I can commit and push, though.

网络"标签中有ss​​h客户端.我还能尝试什么?

I have ssh client in network tab. What else can I try?

推荐答案

更新:

适用于Windows 2.16.1(4)的Git已发布,应该可以解决此问题: https://github.com/git-for-windows/git/releases

Git for Windows 2.16.1(4) is out and that should fix this issue: https://github.com/git-for-windows/git/releases

旧答案:

这是Windows 2.16.1(2)和2.16.1(3)的Git中的一个已知问题:

This is a known issue in Git for Windows 2.16.1(2) and 2.16.1(3): https://github.com/git-for-windows/git/issues/1481

唯一的解决方法是将Git用于Windows 2.16.1(下载)(或更旧; 2.16.0还有其他严重问题: TortoiseGit还原失败-无法还原本地变化).

Only workaround is to use Git for Windows 2.16.1 (Download) (or older; 2.16.0 has other critical issues: TortoiseGit revert failed - unable to revert local changes).

仅作说明,在TortoiseGit中进行错误报告: https://gitlab.com/tortoisegit/tortoisegit /issues/3156

Just for the notes, bugreport in TortoiseGit: https://gitlab.com/tortoisegit/tortoisegit/issues/3156

PS:对于适用于Windows的Git> = 2.16,您至少需要TortoiseGit 2.5.7(请参见 https://stackoverflow.com /a/48457419/3906760 ).

PS: For Git for Windows >= 2.16 you need at least TortoiseGit 2.5.7 (cf. https://stackoverflow.com/a/48457419/3906760).

这篇关于git.exe拉出错误:无法生成git:无效参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆