Yesterday I finally had the incentive to download Git so I could fork a Github project (Mustache.cfc) and contribute some changes I'd made. Being that Eclipse is my main IDE, EGit seemed to be a logical client to install. The install process was painless and I was able to figure out how to clone a local copy, commit and push changes back to Github. Even the Github pull request process was painless. Much to my chagrin, my pull request was accepted almost immediately and merged back into the main branch.
Naturally the next thing I wanted to do was to sync my fork with the original repository. This is where I got stuck. Whether due to my lack of understanding of Git terminology or just a lack of my Google Search skills, I was not able to easily find instructions for how to sync the original repository back to my fork. After much searching, I was finally able to find some help.
However, I figured I'd clean up the instructions a bit and provide a little more detail on the steps for merging the main repository back into your fork.
The first thing you need to do, is set up a new remote repository linked to your fork:
Now that you have a linked the original repository to your fork, you can merge changes from the original repository to your fork:
These steps worked for me, so hopefully they'll help guide someone else!
Comments for this entry have been disabled.