<br><br><div class="gmail_quote">2009/8/20 Tom Stuart <span dir="ltr"><<a href="mailto:tom@experthuman.com">tom@experthuman.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:45, Taryn East wrote:<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'm having a newbie moment so I was hoping for a bit of help from the git-gurus out there.<div class="im"><br>
So, what I'm trying to do is to create patches for rails core.<br>
</div></blockquote>
<br>
I'm by no means a git-guru, but I can tell you my own workflow for this kind of thing:<br>
<br>
I make a local branch, do my work there, and regularly rebase it on top of upstream commits. As I'm sure you know, this means that git rewinds all of your changes, fast-forwards to accommodate the upstream changes, and then replays your work.<br>

<br>
If nothing else this forces you to constantly be rethinking what your changes mean in terms of what's happening upstream, and avoids the situation where you end up with one giant horrendous merge right at the end.<br>

<br>
On the other hand, it does mean that you're constantly "abandoning" your old commits and replacing them with freshly rebased ones, which is fine when you're working locally but can be a world of pain if you're actually publishing those commits anywhere (e.g. on your fork) and others are expecting them to remain relevant.<br>
<div><div class="h5"></div></div></blockquote><div><br>Yep - and this is what I eventually did - ie a local branch of the remote master of rails/rails...<br>but I had hoped I could store things in the remote fork because that way I could work at home, at work, or anywhere else and have access to my latest (uploaded) commits...  without having to wait until they were accepted into rails/rails<br>
<br>No problem if that's the only way to do it, I guess I hoped to figure out if there is any way.<br><br>Taryn<br></div></div><br>