Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
无法推送GitHub错误:未找到存储库_Git_Github_Git Push - Fatal编程技术网

无法推送GitHub错误:未找到存储库

无法推送GitHub错误:未找到存储库,git,github,git-push,Git,Github,Git Push,我对git和github有一个非常奇怪的问题。当我试着去推的时候,我变得越来越紧张 git push -u origin fix-validation ERROR: Repository not found. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. 我加了遥控器 git@github.

我对git和github有一个非常奇怪的问题。当我试着去推的时候,我变得越来越紧张

git push -u origin fix-validation
ERROR: Repository not found.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
我加了遥控器

git@github.com:account-name/repo-name.git

看起来您正在通过ssh访问远程服务器。确保您的ssh配置正常工作(您已生成密钥对并将公钥复制到github帐户)


最简单的尝试是将https://等效文件添加为远程文件。

这是您的个人回购吗?否则,您通常需要分叉回购协议,如果您没有直接推送到原始协议的权限,则向原始协议发出拉入请求。可能的重复:?