[英]GitHub: fatal: 'origin' does not appear to be a git repository
Yellow, I have tried setting up the option "Accessing (Pushing to) Github without username and password" following these steps... https://medium.com/@amanze.ogbonna/accessing-pushing-to-github-without-username-and-password-3022feb077fb黄色,我尝试按照以下步骤设置“无需用户名和密码即可访问(推送到)Github”选项... https://medium.com/@amanze.ogbonna/accessing-pushing-to-github-without-用户名和密码-3022feb077fb
But now I get an error that I can't seem to shake:但现在我收到一个我似乎无法摆脱的错误:
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)
I am using Ubuntu 18.4.我正在使用 Ubuntu 18.4。
This is the Github repo: https://github.com/FilipZafran/FutsalCup这是 Github 存储库: https : //github.com/FilipZafran/FutsalCup
Not sure what I messed up...不知道我搞砸了什么...
git remote remove origin
git remote remove github
git remote add origin git@github.com:FilipZafran/FutsalCup.git
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.