2.02.2013

tortoisegit: git did not exit cleanly (exit code 128 or code 1)解法

用tortoise git,出現git did not exit cleanly (exit code 128),

但是用git卻成功。我發現移除後,再重灌無效。

但是 

1. 移除tortoise git後,

2. Open 'regedit', 再手動search 'tortoisegit'機碼,

全部刪除後。

3. 再重灌,重灌選git default的ssh,

就不會有錯了。enjoy~

 Note: 有試過這樣也無效,後來就放棄tortoise git,直接改用Git了。 

 也有可能是Git的路徑多了空白的問題:

B

Hmmm....

I unzipped the portable version into the typical install dir: "C:\Program Files (x86)\Git", and got the same errors.
Unzipped into "C:\git2", and it worked as expected.
Perhaps the problem is with the spaces in the path?

(But why does it work on the other computer....?!)

 

沒有留言:

張貼留言