git clone 抛出存储库未找到错误

时间:2021-05-08 13:28:46

标签: github git-clone git-remote

在尝试克隆我的私有存储库时,出现以下错误

fatal: repository 'https://github.com/kefitech/qp-guard.git/' not found

我已经用谷歌搜索了一些但无法解决问题。

步骤完成

1. config --global user.name and password is set using terminal (windows cmd)
2. git remote -v

git remote -v 返回错误:

fatal: not a git repository (or any of the parent directories): .git

因此,尝试使用以下命令将远程 URL 设置为我的存储库:

git remote set-url origin https://<my-user>@github.com/<my-org>/qp-guard.git

这也会返回 git remote -v 命令返回的相同错误

请注意:

1. I'm a collaborator 
2. I can clone any public repos 
3. I have not used git client (terminal, cmd) for a long time but it was working before.

期待任何解决此问题的指针。

0 个答案:

没有答案