GitHub:fatal:';原产地';似乎不是git存储库

GitHub:fatal:';原产地';似乎不是git存储库,git,github,ssh,ssh-keys,Git,Github,Ssh,Ssh Keys,黄色, 我试着按照以下步骤设置选项“不使用用户名和密码访问(推送到)Github…”。。。 但现在我犯了一个我似乎无法摆脱的错误: ficho@ficho-PS63-Modern-8M:~/Desktop/FUTSAL CUP 2020/www$ git push fatal: 'origin' does not appear to be a git repository fatal: Could not read from remote repository. Please make su

黄色, 我试着按照以下步骤设置选项“不使用用户名和密码访问(推送到)Github…”。。。

但现在我犯了一个我似乎无法摆脱的错误:

ficho@ficho-PS63-Modern-8M:~/Desktop/FUTSAL CUP 2020/www$ git push
fatal: 'origin' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

ficho@ficho-PS63-Modern-8M:~/Desktop/FUTSAL CUP 2020/www$ git remote -v
github  https://github.com/FilipZafran/FutsalCup.git (fetch)
github  https://github.com/FilipZafran/FutsalCup.git (push)
origin  origin (fetch)
origin  origin (push)
我正在使用Ubuntu 18.4

这是Github回购协议:

不知道我搞砸了什么

  • 来源是远程存储库的常规默认名称。这意味着运行git push将尝试将提交推送到源存储库
  • 看看你的遥控器列表。您已经定义了名为github的存储库,而origin没有定义正确的url
  • 要修复此问题,我将删除所有遥控器并重新正确添加:
  • 来源是远程存储库的常规默认名称。这意味着运行git push将尝试将提交推送到源存储库
  • 看看你的遥控器列表。您已经定义了名为github的存储库,而origin没有定义正确的url
  • 要修复此问题,我将删除所有遥控器并重新正确添加:

这回答了你的问题吗?我看到了那个,但我没能跟上。。。我不相信这是同一个问题……这能回答你的问题吗?我看到了那个,但我没能跟上。。。我不相信这是同一个问题……嘿,臭虫猎人,谢谢你的回复。我按照您的指示进行了操作,但后来我再次尝试推送,但出现了新的错误:ficho@ficho-PS63-Modern-8M:~/Desktop/FUTSAL CUP 2020/www$git push致命:当前的分支主管没有上游分支。要推送当前分支并将远程分支设置为上游,请使用git push--set upstream originmasterficho@ficho-PS63-Modern-8M:~/Desktop/FUTSAL CUP 2020/www$git push originmastergit@github.com:权限被拒绝(公钥)。致命:无法从远程存储库读取。请确保您具有正确的访问权限,并且存储库存在。ficho@ficho-PS63-Modern-8M:~/Desktop/FUTSAL CUP 2020/www$git push——设置上游原点主控git@github.com:权限被拒绝(公钥)。致命:无法从远程存储库读取。请确保您具有正确的访问权限,并且存储库存在。您是否正确设置了SSH?看:嘿,臭虫猎人,谢谢你的回复。我按照您的指示进行了操作,但后来我再次尝试推送,但出现了新的错误:ficho@ficho-PS63-Modern-8M:~/Desktop/FUTSAL CUP 2020/www$git push致命:当前的分支主管没有上游分支。要推送当前分支并将远程分支设置为上游,请使用git push--set upstream originmasterficho@ficho-PS63-Modern-8M:~/Desktop/FUTSAL CUP 2020/www$git push originmastergit@github.com:权限被拒绝(公钥)。致命:无法从远程存储库读取。请确保您具有正确的访问权限,并且存储库存在。ficho@ficho-PS63-Modern-8M:~/Desktop/FUTSAL CUP 2020/www$git push——设置上游原点主控git@github.com:权限被拒绝(公钥)。致命:无法从远程存储库读取。请确保您具有正确的访问权限,并且存储库存在。您是否正确设置了SSH?见:
git remote remove origin
git remote remove github
git remote add origin git@github.com:FilipZafran/FutsalCup.git