小编Ahm*_*aan的帖子

TortoiseGit:无法使用SSH在VPS上克隆私人存储库

我正在尝试使用TortoiseGit git克隆存储库。我只有SSH可以访问VPS上的git存储库。我收到以下错误:

git.exe clone --progress -v "ssh://git@xx.xx.xx.xx/home/git/git-repo/myproject.git" "C:\xampp\htdocs\myproject"

Cloning into 'C:\xampp\htdocs\myproject'...
/usr/bin/bash: git@xx.xx.xx.xx: No such file or directory
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Run Code Online (Sandbox Code Playgroud)

但是,我能够在Windows上使用Git Bash git克隆我的私有存储库。真奇怪 将TortoiseGit用于SSH时,我做的正确吗?

git tortoisegit

5
推荐指数
1
解决办法
380
查看次数

标签 统计

git ×1

tortoisegit ×1