2016-05-16 16 views
1

私は命令に従うことをしようとしているがhereを見つけたが、それは非常に最初のステップで失敗:GitHubフォークを同期するには?

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. 

私は何をしますか?

ありがとうございます。

+1

のために働く必要がありますアップストリームを最初に設定してください:https://help.github.com/articles/configuring-a-remote-for-a-fork/ –

+0

@ T.Claverie、ありがとうございます。それはうまくいった。 – Igor

答えて

0

あなたはremote秒のリストに明示的に追加することで、あなたのupstream最初を追加する必要があります。

git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git 

git remote -vを行うと、あなたが旧姓あなたupstreamを示さなければならないし、今git fetch upstreamはあなた

関連する問題