Git-远程:找不到存储库 [英] Git - remote: Repository not found

查看:193
本文介绍了Git-远程:找不到存储库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有带有本地工作副本的SourceTree.而且所有操作都运作良好,我可以通过SourceTree简单地进行fetch,push,pull等操作.我只需要进行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

我不确定会有什么问题.

I am not sure what can be an issue.

推荐答案

从系统中删除所有github.com凭据详细信息.

Remove the all github.com credential details from the system.

对于Mac

从钥匙串访问"中删除github.com密码.

Delete the github.com password from the Keychain Access.

用于窗口

从凭据管理器中删除凭据.

Delete the credentials from Credential Manager.

这篇关于Git-远程:找不到存储库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆