<br><br><div class="gmail_quote">2009/8/20 Chris Mear <span dir="ltr"><<a href="mailto:chrismear@gmail.com">chrismear@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On 20 Aug 2009, at 11:59, Taryn East wrote:<br>
</div><br>
If the patches weren't applying cleanly, then it sounds like you weren't rebasing properly. A successful rebase will rewrite your feature commits and add them directly on top of the latest master, so by definition a diff from that master to your feature head will apply cleanly to that master.<br>
<br>
Without seeing your repository, it's pretty hard to tell what happened. One possibility is that your git pull wasn't set up correctly. In the situation where you've made a GitHub fork of the Rails repository, you've actually got three repositories that you're playing with:<br>
<br>
* the original rails/rails remote repository;<br>
* your fork, the taryneast/rails remote repository; and<br>
* your local repository.<br>
<br>
If you created your local repository by cloning taryneast/rails, then doing a git pull won't pull in the latest changes from the rails/rails repository -- it would only pull in changes from your fork. GitHub forks don't automatically keep in sync with the original repo.<br>
<br>
The way I have my local Rails repository set up, my 'origin' remote is the original rails/rails repo, and I have a 'chrismear' remote which tracks my GitHub fork.<br>
<br>
I then keep my local master branch in sync with the rails/rails master by doing:<br>
<br>
git fetch origin<br>
git merge origin/master master<br>
<br>
(Never been a big fan of git-pull; I prefer doing the fetch and merge explicitly so I know exactly what's going on.)<br>
<br>
If you do a 'git pull', and then look at the latest commit on your local master branch (git show master), does it match the latest commit at <a href="http://github.com/rails/rails/" target="_blank">http://github.com/rails/rails/</a> ?<font color="#888888"></font></blockquote>
<div><br>I definitely pulled from the real rails.. I know that mainly because nobody else is making changes on my fork.. and the git pull that I did pulled in heaps of changes every few days ;)<br>I have the fetch/merge from upstream aliased as "git up" (told you I was an svn girl ;))<br>
<br>That said - thanks for the description - I guess I'm still wrapping my head around the new multitude of repositories... <br><br>So I'm pretty sure that my local working copy had all the changes from the real rails fork...<br>
I'm just not sure if I rebased often enough... or made the patches the right way.<br><br>Cheers,<br>Taryn<br></div></div><br>