【发布时间】:2020-02-05 02:13:45
【问题描述】:
我目前正在尝试使用命令git push origin test,但不断弹出错误。
错误是:
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.
请帮忙
【问题讨论】:
-
那么您有一个名为 origin 的存储库吗?如果它被称为起源测试,那么尝试 git push "origin test"
-
不,我没有名为 origin 的存储库。如何制作?
-
实际上,您不会创建一个名为 origin 的仓库,而是添加一个带有
git remote add origin <address>的远程仓库,正如 @ParthS007 在他的回答中所说的那样。
标签: github