[Kde-scm-interest] Re: Usage of pull rebasing and merges

Michael Pyne mpyne at kde.org
Wed Feb 9 03:12:14 CET 2011


On Tuesday, February 08, 2011 14:04:14 John Tapsell wrote:
> On 8 February 2011 18:27, Ian Monroe <ian at monroe.nu> wrote:
> > On Tue, Feb 8, 2011 at 10:55, Alexander Neundorf <neundorf at kde.org> wrote:
> >> On Tuesday 08 February 2011, Boudewijn Rempt wrote:
> >>> On Tuesday 08 February 2011, Oswald Buddenhagen wrote:
> >>> > > - just throw away the merge with git reset --hard HEAD~1 and redo
> >>> > > it after git pull-ing. preferably, you should have git rerere
> >>> > > enabled, so you won't have to repeat resolving any possible
> >>> > > conflicts.
> >>> 
> >>> Excuse my ignorance... But what is "git rerere"?
> >> 
> >> These emails are a clear sign to me that we need recommended workflows
> >> of how to do things...
> 
> Of course it looks complicated if you start looking at the possible
> ways it can go wrong, and the advanced features.
> 
> But I have used git for more than two years now, and I still haven't
> ever needed to merge.  Yes, you will make mistakes with git, but it's
> extremely forgiving.  You can roll back to previous state at any
> point.  You can't break your repository.

On the contrary, after only a few weeks at most of using git routinely, I've 
already merged quite a few times. I didn't *have* to (I chould have cherry-
picked instead), but part of the recommended git workflow of doing feature 
development in separate branches from master or other release branches kind of 
implies you should be merging more frequently than would have occurred with 
svn.

I would have kept on developing in the same branch (master) if it weren't for 
the fact that XML support is highly likely to break something in kdesrc-build 
but at the same time my software can't be the only one that undergoes that 
kind of dangerous-ish development every so often. :)

Regards,
 - Michael Pyne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-scm-interest/attachments/20110208/48b94ee8/attachment.sig 


More information about the Kde-scm-interest mailing list