Login  Register

Resolved: SSH for fetch upstream [was: Presentation and S.O.S]

Posted by PatGuano on Nov 01, 2011; 1:47pm
URL: https://forum.librecad.org/Presentation-and-S-O-S-tp4952926p4955215.html

My "fetch upstream" problem is solved for the time.

I re-created my github account from scratch and ended with the exact same problem as before:
$> git fetch upstream ended with a socket timeout.

The solution which works for me is to either remove the block [remote "upstream"] from project/.git/config then run
$>  git remote add upstream git@github.com:LibreCAD/LibreCAD.git
which ensures the SSH-compatible syntax or to replace the upstream server definition manually to:
----------
[remote "upstream"]
        url = git@github.com:LibreCAD/LibreCAD.git
        fetch = +refs/heads/*:refs/remotes/upstream/*
----------

Now I can finally "fetch upstream".

Bad news for you... I am here.
I think a person's worth is measured by nature, in her own terms, not by joining a clique of mutual praise with no connection to reality. (Paul Lutus)