git did not exit cleanly (exit code 128)

https

小乌龟取消代理。点击TortoiseGit->settings->network->enable proxy server 前面的勾取消
git did not exit cleanly (exit code 128)_第1张图片

git did not exit cleanly (exit code 128)_第2张图片

ssh

上面是https方式的,另附ssh方式

gitlab添加密钥

按照官方文档写的:
Git Bash on Windows / GNU/Linux / macOS:

ssh-keygen -t rsa -C "[email protected]" -b 4096

这里的[email protected]填上你的邮箱就好了
ssh生成的.pub文件(公钥)
(使用cd命令进入id_rsa.pub目录,再使用more id_rsa.pub命令查看公钥的内容)
然后把里面的内容复制到gitlab的添加SSH上就行了(会添加ssh吧~~)

修改TortoiseGit设置

在gitlab项目使用ssh地克隆,然而完成以上后还是报了错误:
no supported authentication methods available
还有一个git设置,把路径改为以下就可以了,如果找不到就搜索一下ssh.exe在哪
git did not exit cleanly (exit code 128)_第3张图片

克隆

ssh格式的地址应该是这样的:[email protected]:xxxxxx/project.git 别搞错了

你可能感兴趣的:(git did not exit cleanly (exit code 128))