Note that there are some explanatory texts on larger screens.

plurals
  1. POAdd forked repo to parent repo folder, and can pull from both into same folder
    primarykey
    data
    text
    <p>I am having problems pulling a fork from github into a folder, where the parent repo resides. </p> <p>I already have a working local folder where I can pull parent repo changes into.<br> Here are my steps:</p> <ol> <li>Create local folder for forked repo</li> <li>Fork a repo on github</li> <li>Pull forked repo into local folder</li> <li>Make my changes, commit and push them</li> <li>Github has registered the commits</li> </ol> <p>No problems so far. I have 2 sibling folders, (ORG) one with the original repo and (FORK) one with my fork that I can work on.<br> Now I need to pull my fork onto a second machine (for testing). Here are the steps on the secondary machine: </p> <ol> <li><code>cd folderWith ORG repo</code></li> <li><code>git remote add UniqueName git://github.com/myUserName/forkedRepoName.git</code></li> <li><code>git branch -a</code> does not show UniqueName. I think this is where the problem lies</li> <li><code>git remote -v</code> shows both a fetch and push entry for UniqueName. I only need fetch/pull</li> <li><code>git branch fork</code>. Create a new branch so I can switch between ORG and FORK repos</li> <li><code>git checkout fork</code></li> <li><code>git pull UniqueName/master</code>. "fatal error: 'UniqueName/master' does not appear to be a git repository"</li> </ol> <p>What am I doing wrong ?<br> I do not wish to have sibling folder on the secondary machine too, only another branch.</p> <p><strong>UPDATE:</strong><br> <code>git branch -a</code> will first show the branches of <code>UniqueName</code> <em>after</em> you do a <code>git fetch/pull</code>.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload