2016-05-16 21 views
1

Ich versuche Anweisung zu folgen gefunden here, aber es funktioniert nicht auf den ersten Schritt:Wie synchronisiere ich eine GitHub-Gabel?

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. 

Was kann ich tun?

Vielen Dank.

+1

Sie nee zu Konfigurieren Sie das Upstream zuerst: https://help.github.com/articles/configuring-a-remote-for-a-fork/ –

+0

@ T.Claverie, danke. Das hat funktioniert. – Igor

Antwort

0

Sie benötigen upstream zunächst explizit in die Liste der remote s hinzufügen Hinzufügen:

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

ein git remote -v tun sollten Ihre upstream zeigen und jetzt die git fetch upstream sollte für Sie arbeiten