我试图按照here找到的指令,但在第一步失败了:
C:\wxFork [master +42 ~0 -32 !]> git fetch upstream
fatal: 'upstream' 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 :(得分:0)
您需要先将upstream
添加到remote
列表中,然后再添加git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git
:
git remote -v
执行upstream
应该会显示您的git fetch upstream
,现在{{1}}应该适合您