致命:协议错误:行长字符错误:[ - ]

时间:2015-11-26 21:43:08

标签: git github-for-windows

在Git Bash(Windows XP)中,永久[-] mapping_data_source::init error: file not found发生错误。但早些时候它并没有造成其他错误。现在我试图克隆我的存储库并得到错误:

$ git clone hello cloned_hello
[-] mapping_data_source::init error: file not found
Cloning into 'cloned_hello'...
fatal: protocol error: bad line lengt character: [-]
fatal: write error: Invalid argument

没有" _"

$ git clone hello clonedhello
[-] mapping_data_source::init error: file not found
Cloning into 'clonedhello'...
fatal: protocol error: bad line length character: [-]
fatal: The remote end hung up unexpectedly

1 个答案:

答案 0 :(得分:0)

如果$ HOME(在Windows bash会话中)中有List<string> list = new List<string>(); list.Add(upd_status); list.Add(err_msg); return Json(list.ToArray()); .profile,它会发生一些回声(这不是沉默的),就会发生这种情况

要对此进行测试,请检查当您尝试从CMD会话而不是bash会话克隆时问题是否仍然存在(调用.bashrc以打开此类会话)