Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4060680
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T15:22:08+00:00 2026-05-20T15:22:08+00:00

I have a project I forked on github to my repository. I made changes

  • 0

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 git@github.com:originalrepo/theproject.git
git checkout -b experiment origin/experiment
cd theproject
git remote add experiment git@github.com: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)?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T15:22:09+00:00Added an answer on May 20, 2026 at 3:22 pm

    (As a very minor point, I guess you really did the cd theproject before the git checkout.)

    I think you may have created some confusion by calling the remote that refers to your repository on github the same as the branch into which that you’re wanting to merge.

    The last line actually just merges the experiment branch into the experiment branch, which obviously doesn’t make any changes. You probably instead wanted to do something like:

    git merge experiment/foo
    

    … instead.

    Just to make it clearer, I would call the remote that refers to your repository something different, just to keep the idea of a branch and a remote more separate. For example:

    git clone git@github.com:originalrepo/theproject.git
    cd theproject
    git checkout -b experiment origin/experiment
    git remote add myforkedrepo git@github.com:chumofchance/theproject.git 
    git fetch myforkedrepo
    

    At this stage, git branch -r should show you all the branches from myforkedrepo that have just been fetched as myforkedrepo/master, myforkedrepo/foo, myforkedrepo/experiment, etc. Just pick one of them to merge, e.g.

    git merge myforkedrepo/foo
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have forked the git repository of a project on Github and made my
I have created a fork from a project on GitHub. How can I now
I have a private repository in github that has 5 collaborators.Now when the collaborators
I have forked a project on GitHub and I want to download only the
I have forked a project on github and need to have a set of
I have project that I'm working on that is going to require a webserver.
I have a project that I'm currently working on but it currently only supports
I have a project that I would like to start beta testing soon, it
Yes, I know I should have just forked the project from the beginning, but
I have forked an SVN project using Git because I needed to add features

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.