Steps Leading up to Question
Here's what I did leading up to my question:
- Forked a project on Github and cloned it locally
- Made two commits to my local repo to fix a bug
- Pushed those two commits to my forked Github repo
- Sent a pull request via Github to the original repo owner
- Original owner made a different commit to resolve the bug
Question
How can I merge the original owner's commits so that my local master is identical to his master (basically I want to do a Github fast forward) and have the two commits that I made on a new branch?
Steps Taken After Question Came to Mind
Here are the things that I've done so far (that I think I'll need to do to accomplish what I want):
- Added the original repo as a remote:
git remote add original-repo git://github.com/blah/blah.git
- Fetched the original-repo:
git fetch original-repo
- Fetched the original-repo master:
git fetch original-repo master
- Went into deer in headlights mode, so posted question to Stackoverflow after googling failed me. There are some similar questions on Stackoverflow, but I didn't see anything that was trying to accomplish the same thing.