Simple github fetch/merge not pulling in remote branch?

Posted by chum of chance on Stack Overflow See other posts from Stack Overflow or by chum of chance
Published on 2011-03-11T15:55:31Z Indexed on 2011/03/11 16:10 UTC
Read the original article Hit count: 334

Filed under:
|

I have a project I forked on github to my repository. I made changes on the "experiment" branch of the project the committed the project to my fork. If you go to my branch on Github you can see the that the experiment branch was correctly committed. I would like to merge the experiment branch with the original repo (which I have rights to). I issued the following commands:

git clone [email protected]:originalrepo/theproject.git
git checkout -b experiment origin/experiment
cd theproject
git remote add experiment [email protected]:chumofchance/theproject.git 
git fetch experiment
git merge experiment
"Already up to date"

However, when I view the project in explorer, it appears that nothing has changed. Am I screwing something up in regards to fetching the experiment branch (vs the master branch)?

© Stack Overflow or respective owner

Related posts about git

Related posts about github