2015-11-26 44 views
1

在Git Bash(Windows XP)中發生永久性錯誤[-] mapping_data_source::init error: file not found。但早些時候它並不是其他錯誤的原因。現在,我試圖克隆我repositorie並得到錯誤:致命:協議錯誤:壞行長度字符:[ - ]

$ 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 

回答

0

當你在$ HOME一個.profile.bashrc(在Windows的bash,可以發生,做一些回聲(這是不是沉默)

要測試會話)時,檢查你嘗試從CMD會話,而不是一個bash會話克隆(叫c:\path\to\PortableGit-2.6.3-64-bit\git-cmd.exe開這樣的會議)

問題仍然存在