0
我以前從未遇到過這種情況。突然之間,我無法克隆任何git存儲庫(也通過https)。這是我所看到的:無法克隆任何git存儲庫 - 退出代碼128
[email protected]:~$ mkdir eye
[email protected]:~$ git clone 'https://github.com/kostya/eye.git' eye --verbose
Cloning into 'eye'...
[email protected]:~$ echo $?
128
[email protected]:~$ wget https://github.com/kostya/eye.git
--2015-08-20 20:12:22-- https://github.com/kostya/eye.git
Resolving github.com (github.com)... 192.30.252.131
Connecting to github.com (github.com)|192.30.252.131|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://github.com/kostya/eye [following]
--2015-08-20 20:12:23-- https://github.com/kostya/eye
Reusing existing connection to github.com:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘eye.git’
eye.git [ <=> ] 73.30K 278KB/s in 0.3s
2015-08-20 20:12:23 (278 KB/s) - ‘eye.git’ saved [75064]
我能夠做HTTPS連接,但是由於各種原因Git並不讓我的任何克隆庫和一個128錯誤代碼只是默默退出。
我也有一個有效的ssh密鑰,我試圖用ssh-keygen重新生成它,但沒有幫助:( - 另外,這是一個公共存儲庫,所以它不是需要導入ssh公鑰的情況到github上。
任何想法?
你有沒有試過這個:http://stackoverflow.com/questions/9617336/how-to-resolve-git-did-not-exit-cleanly-exit-code-128-error-on-tortoisegit – janos
是的,這根本不是關鍵問題。 – Hackeron