git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: How to always use --merge option in git rebase?

From
Alexander Kostikov <alex.kostikov@gmail.com>
Date
Apr 14, 2012, 01:05 UTC
Message-ID
<CAGAhT3nL0d_niOuu-jGziJadF1JH7Ujvq_FKKBo4W=FfueUpsA@mail.gmail.com>
In-Reply-To
<4F876666.7080501@gmail.com>

Thanks. I was hoping there is some config setting for that though.

On Thu, Apr 12, 2012 at 4:33 PM, Neal Kreitzinger <nkreitzinger@gmail.com> wrote:

Show 22 quoted lines
> On 4/12/2012 3:31 PM, Alexander Kostikov wrote:
>>
>> Hi,
>>
>> We have a huge repository ~10 GB. After some integrations the following
>> happens:
>>
>>> git rebase master
>>
>> First, rewinding head to replay your work on top of it...
>> fatal: Out of memory, malloc failed (tried to allocate 55012353 bytes)
>>
>> There is a workaround to use 'git rebase --merge' instead. But I
>> couldn't find a way to make the merge-based rebase the default one. Is
>> it possible?
>> git version 1.7.10.msysgit.1
>>
> You could make a git alias like "git rebaser" that does 'git rebase
> --merge'.
>
> v/r,
> neal
-- 
Alexander Kostikov
Previous: Neal Kreitzinger
Message 3 of 3 in “How to always use --merge option in git rebase?”
  1. Alexander KostikovApr 12, 2012
  2. Neal KreitzingerApr 12, 2012
  3. Alexander KostikovApr 14, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.