环境:
windows 10 Pro
git 2.22.0
TortoiseGit 2.8.0
问题场景:
已经配置了ssh密钥、用户名、密码之后,可以正常从仓库下载代码,
但是当上传代码的时候报如下错误:
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
解决:
打开TortoiseGit,在 设置 => Network => SSH设置为 git安装目录/usr/bin/ssh.exe 即:
C:\Program Files\Git\usr\bin\ssh.exe
网友评论