【发布时间】:2020-06-30 01:47:36
【问题描述】:
已暂存并提交本地 repo 并创建了远程 repo。检查它确实存在 (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.
也尝试过从现有的 repo 推送:
git remote add origin https://github.com/{username}/CodingDojo_Porfolio.git
git push -u origin master
我不明白我做错了什么
(我之前遇到过类似的错误,我删除了远程仓库并在没有 README.md 的情况下重新创建了它,但这次没有用)
【问题讨论】:
标签: git github push remote-repository