如何解决git clone 抛出存储库未找到错误
在尝试克隆我的私有存储库时,出现以下错误
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.
期待任何解决此问题的指针。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。