Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Git repos are now live

git config branch.autosetuprebase always

You can set this in the git preferences window too instead of command line. 

This only applies to newly checked out branches - for existing ones you need to do

git config branch.<name>.rebase true

Alex

Sent from my iPod

On 25 Jun 2011, at 21:00, "Schaefer, Doug" <Doug.Schaefer@xxxxxxxxxxxxx> wrote:

Those who have expressed an opinion (James) suggests rebase. It gives a cleaner view of history. Merge creates these mini branches every time you do one.

 

My understanding is that egit does merge for master by default. There is a magic incantation to change it to rebase, but I forget what it is. And there is a bug open on egit to allow for it to be changed more easily (or to actually change it).

 

Doug.

 

From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Sergey Prigogin
Sent: Saturday, June 25, 2011 11:43 AM
To: CDT General developers list.
Subject: Re: [cdt-dev] Git repos are now live

 

Is there a consensus on the pull policy for local branches tracking remote ones? Should it be rebase or merge?

 

-sergey

On Sat, Jun 25, 2011 at 7:56 AM, Schaefer, Doug <Doug.Schaefer@xxxxxxxxxxxxx> wrote:

BTW, Congrats to Sergey for being the first to commit a change to the new repos. :)

So, as a tip, to get the latest from the repo, checkout the branch you are interested in (master or cdt_8_0 or ...) and do a Pull. That will do a fetch and should do a fast forward merge (which isn't really a merge at all) to get your branch pointer updated. Now it's when you have changes on your copy of the branch that haven't been pushed yet when you see a real merge happen.

That brings up rebase, but I'll leave that for now as it gets complicated.


Doug.

> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]

> On Behalf Of Schaefer, Doug
> Sent: Saturday, June 25, 2011 10:46 AM

> To: CDT General developers list.
> Subject: Re: [cdt-dev] Git repos are now live
>
> We'll have a lot of things to clean up like that. I have too many things on the
> go at the moment. But I'm sure someone will step up, or we'll have to wait
> until I clear some room.
>
> BTW, you can check my videos on youtube that I posted earlier to get you
> going. They cover checking out the repo and creating patches.
>
> Doug.
>
> > -----Original Message-----
> > From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-
> bounces@xxxxxxxxxxx]
> > On Behalf Of Axel Müller
> > Sent: Saturday, June 25, 2011 5:01 AM
> > To: CDT General developers list.
> > Subject: Re: [cdt-dev] Git repos are now live
> >
> > Hi,
> >
> > when will the Wiki be updated for non-commiters?
> >
> > http://wiki.eclipse.org/Getting_started_with_CDT_development mentions
> > only CVS
> >
> >   Axel
> >
> > Am Samstag 25 Juni 2011, um 01:15:48 schrieb Schaefer, Doug:
> > > Hey gang,
> > >
> > > Huge thanks to James who's done the conversion and verified the repo.
> > > We're good to go. See them live at git.ecilpse.org in your web browser.
> > >
> > > I've created the CDT_8_0 tag for the final build and created the
> > > cdt_8_0 branch from there. And if there's any more proof I need that
> > > git is good, it was extremely easy and fast to create those and
> > > visualize them in the History view.
> > >
> > > I'll leave the test3 repo up so you can practice if needed. I'll
> > > remove it in a couple of weeks or so.
> > >
> > > Finally, note to the EDC gang, there were commits after our final build.
> > > They are not on the cdt_8_0 branch.
> > >
> > > Doug
> >
> > _______________________________________________
> > cdt-dev mailing list
> > cdt-dev@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/cdt-dev
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev

 

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev

Back to the top