命令行-GitHub Repo错误:似乎不是git存储库

命令行-GitHub Repo错误:似乎不是git存储库,git,github,push,remote-repository,Git,Github,Push,Remote Repository,已暂存并提交本地回购并创建远程回购。检查它是否存在(git remote-v),并且它似乎在那里 当我尝试使用-git push-u origin master推送到它时,我收到以下错误消息: 'https//:github.com/{username}/CodingDojo_Portfolio.git' does not appear to be a git repository fatal: Could not read from remote repository. 还尝试从现有回购协议

已暂存并提交本地回购并创建远程回购。检查它是否存在(
git remote-v
),并且它似乎在那里

当我尝试使用-git push-u origin master推送到它时,我收到以下错误消息:

'https//:github.com/{username}/CodingDojo_Portfolio.git' does not appear to be a git repository
fatal: Could not read from remote repository.
还尝试从现有回购协议中推出:

git remote add origin https://github.com/{username}/CodingDojo_Porfolio.git
git push -u origin master
我不明白我做错了什么


(我以前遇到过类似的错误,我删除了远程repo,并在没有README.md的情况下重新创建了它,但这次没有成功)

看起来域名中有一个奇怪的
,就在
https://
之后。使用
git remote set url origin'https//github.com/{username}/CodingDojo_Portfolio.git
进行修复。

hmm true,但这是我从Gitbash中的错误消息复制/粘贴的文本。我对如何创建这种响应有何想法?我以为我是在遵守这封信,但也许这是我在GitHub方面(而不是我当地的GitBash方面)没有做到的,谢谢你关注它。我认为这可能是当地问题的结合。我删除了回购协议并重新开始(再次:)),它以相同的程序工作,在我重新启动计算机并刷新internet连接后,在某个点上,你会想学习如何修复每次启动时损坏的回购协议。。。