Here are the pointers from my side.<br><br><a href="http://www.slideshare.net/parolkar/beyond-version-controlling-git-by-parolkar">http://www.slideshare.net/parolkar/beyond-version-controlling-git-by-parolkar</a><br><a href="http://gweezlebur.com/2009/01/19/my-git-workflow.html">http://gweezlebur.com/2009/01/19/my-git-workflow.html</a><br>
<a href="http://reinh.com/blog/2009/03/02/a-git-workflow-for-agile-teams.html">http://reinh.com/blog/2009/03/02/a-git-workflow-for-agile-teams.html</a><br><br><br>- <a href="http://www.ohloh.net/accounts/parolkar">http://www.ohloh.net/accounts/parolkar</a><br>
<br><br><br><div class="gmail_quote">On Thu, Aug 20, 2009 at 4:15 PM, Taryn East <span dir="ltr"><<a href="mailto:teast@globalpersonals.co.uk">teast@globalpersonals.co.uk</a>></span> wrote:<br><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 (I'm an svn girl and have only really just started using git) - so I was hoping for a bit of help from the git-gurus out there.<br><br>So, what I'm trying to do is to create patches for rails core.<br>
<br>Given I'll be doing a lot of related changes I figured I'd fork rails for myself and make my changes on my fork - then bundle them into patches and resubmit to core.<br>The benefit of having my own fork is that it's "up there" and viewable while in progress - and I can get to in anywhere... as opposed to a local branch of rails/rails - which is only available on my own machine.<br>
<br>So I tried that, did some changes, made some commits... then made some patches based on those commits and submitted them... only to find that they simply don't work.<br><br>I kept getting "patch does not apply" errors when I tired to run the patch onto the real rails code.<br>
Now, during the time I was making my changes, rails had moved on (as it does). I had merged back into my own fork... but it seems that my patches didn't accept that and kept trying to find files (and LOC inside those files) to patch that simply weren't there anymore...<br>
<br>Eventually I gave up and just made a local branch of rails/rails and hand-applied my diffs, creating a patch for each one... but I still think that surely there's a way to do it the "right" way.<br><br>
<br>
<br>From reading around, I think the way you're "supposed" to do the fork-thing is to make a fork, then branch your fork and make all your individual commits - then bundle these up and commit to the master branch of your fork... then do a pull-request on your fork... which seems like an awful lot of work just to be able to bundle up a patch.<br>
<br>and this "Way Things Should Be Done" isn't very clear unless you read half a dozen tutorials on exactly how you're supposed to use git... or happen to have a git-mentor on hand....and from my svn perspective kind of seems a bit bizarre that you can't work on (and then make working patches from) the git-equivalent of trunk. :P<br>
<br><br>Have I missed something obvious?<br><br>Cheers,<br><font color="#888888">Taryn<br>
</font><br>_______________________________________________<br>
Chat mailing list<br>
<a href="mailto:Chat@lists.lrug.org">Chat@lists.lrug.org</a><br>
<a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
<br></blockquote></div><br>