我对tortoiseGit有个问题。当我使用克隆,拉入或推入乌龟时,它总是报告“访问被拒绝”。但是如果我使用控制台,它可以正常工作。
我尝试重新安装git/tortoiseGit,但是没有帮助。
这是来自tortoiseGit的:
git.exe clone --progress -v "ssh://mavl@rcs.tmapy.cz:7722/var/lib/git/ NavisIZS2014" "D:\work\workspace\IZS2014\NavisIZS2014"
Cloning into 'D:\work\workspace\IZS2014\NavisIZS2014'...
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
git did not exit cleanly (exit code 128) (2016 ms @ 25. 11. 2013 9:17:24)当我使用控制台时:
D:\work\workspace\IZS2014>git.exe clone --progress -v "ssh://mavl@rcs.tmapy.cz:7722/var/lib/git/NavisIZS2014" "D:\work\workspace\IZS2014"
Cloning into 'D:\work\workspace\IZS2014'...
warning: You appear to have cloned an empty repository.发布于 2013-11-25 16:22:25
由于您是通过ssh进行身份验证的,因此Tortoise很可能找不到您的ssh密钥。
您可以在Toirtoise Git中通过导航到
设置> Git >远程
将Putty Key字段设置为explained here。
发布于 2018-12-07 20:23:55
https://stackoverflow.com/questions/20187186
复制相似问题