Git - 远程:未找到存储库 [英] Git - remote: Repository not found
本文介绍了Git - 远程:未找到存储库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有带有本地工作副本的 SourceTree.并且所有操作都运行良好,我可以通过 SourceTree 进行简单的获取、推送、拉取等操作.我只需要进行 SourceTree 中不存在的强制推送.
I have SourceTree with local working copy. And all operations work good, I can simple fetch, push, pull and etc via SourceTree. I just needed to make force push which does not exist in SourceTree.
我打开终端做了 git push -f
I opened terminal made git push -f
remote: Repository not found.
fatal: repository 'https://github.com/MyRepo/project.git/' not found
我不确定是什么问题.
推荐答案
请在下面找到适用于 Windows 的解决方案:
Please find below the working solution for Windows:
- 从开始菜单打开控制面板.
- 选择用户帐户.
- 选择凭据管理器".
- 点击管理 Windows 凭据".
- 删除与 Git 或 GitHub 相关的任何凭据.
- 删除所有内容后,请再次尝试克隆.
这篇关于Git - 远程:未找到存储库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文