我有本地工作副本SourceTree。和所有的操作工作得很好,我可以简单的获取,推,拉等通过SourceTree。我只需要在SourceTree中不存在的force push。
我打开终端使git按-f
remote: Repository not found.
fatal: repository 'https://github.com/MyRepo/project.git/' not found
我不确定会有什么问题。
我有本地工作副本SourceTree。和所有的操作工作得很好,我可以简单的获取,推,拉等通过SourceTree。我只需要在SourceTree中不存在的force push。
我打开终端使git按-f
remote: Repository not found.
fatal: repository 'https://github.com/MyRepo/project.git/' not found
我不确定会有什么问题。
当前回答
您可以尝试删除目录中的.git文件,并重新执行所有操作将解决您的问题!
其他回答
我通过删除.git文件(隐藏文件夹),然后再次上传解决了这个问题。
禁用GIT证书对我有帮助:
git config --global --unset credential.helper
您可以尝试删除目录中的.git文件,并重新执行所有操作将解决您的问题!
我尝试了所有的方法,直到我意识到存储库所有者只给了我READ权限,所以Git会抛出“remote: repository not found”。
这可能是一个重叠的问题,你在同一时间配置不同的帐户。
试着检查:
git config user.name git config user.email
检查是否与远程回购相同。
查看repo git remote -v