使用tortoisegit的git pull时候,提示错误:
git.exe pull --progress -v --no-rebase "origin"plink: unknown option "-o"fatal: Could not read from remote repository.
Please make sure you have the correct access rightsand the repository exists.
git did not exit cleanly (exit code 1)
但是如果使用git bash可以使用git pull。所以觉得可能是TortoiseGit的问题。
解决方案:
更改ssh client配置。setting->Network->SSH->ssh client, 改为git 目录下的ssh.exe
具体操作如下:

更改后,使用TortoiseGit的git pull就没问题了。
在使用TortoiseGit进行gitpull时遇到错误,提示plink不识别-o选项且无法读取远程仓库。问题可能出在TortoiseGit的SSH客户端配置上。通过将SSH客户端设置改为git目录下的ssh.exe,成功解决了gitpull失败的问题,现在可以正常执行gitpull操作。
3269

被折叠的 条评论
为什么被折叠?



