我当前正在尝试使用命令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.
请帮助
答案 0 :(得分:1)
首先,如果您希望存储库能够推/拉/取/合并,则必须具有repository
。
git init
将远程分支添加为源。
,然后再次运行命令。
git push origin test