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

Re: git rebase -i <first_commit_in_repository>

From
Eeschvoca <eschvoca@gmail.com>
Date
Oct 27, 2009, 00:27 UTC
Message-ID
<2b05065b0910261727g75e4330fn23ed6c633114e689@mail.gmail.com>
In-Reply-To
<alpine.DEB.1.00.0910262210480.4985@pacific.mpi-cbg.de>
Hi,

On Mon, Oct 26, 2009 at 5:11 PM, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:

Show 24 quoted lines
> Hi,
>
> On Mon, 26 Oct 2009, eschvoca wrote:
>
>> On Mon, Oct 26, 2009 at 1:25 PM, Erik Faye-Lund
>> <kusmabite@googlemail.com> wrote:
>> > On Mon, Oct 26, 2009 at 6:14 PM, eschvoca <eschvoca@gmail.com> wrote:
>> >> Hi,
>> >>
>> >> Is there a way to rewrite history, including the first commit.  It
>> >> seems that the first commit can not be modified with a rebase.
>> >
>> > This question is answered in the FAQ:
>> > http://git.or.cz/gitwiki/GitFaq#HowdoIedittherootcommit.3F
>>
>> Thanks Eric.  Hopefully someone will enhance rebase to handle the root
>> commit.
>
> If you cannot do it yourself, you can always offer to bribe^Wpay somebody
> to do it for you.
>
> Ciao,
> Dscho
>

I can do the workaround myself but not the production ready patch. Right now the only bribe I can offer is that it might be less work writing the patch than supporting this corner case with answering questions and writing a FAQ entry about it. It also would make the awesome rebase -i even awesomer :) I know, a disappointing bribe but from a thankful user.

Thanks
Previous: Johannes Schindelin
Message 9 of 9 in “git rebase -i <first_commit_in_repository>”
  1. eschvocaOct 26, 2009
  2. Mike HommeyOct 26, 2009
  3. Erik Faye-LundOct 26, 2009
  4. eschvocaOct 26, 2009
  5. Dirk SüsserottOct 26, 2009
  6. Allan CaffeeOct 26, 2009
  7. Dirk SüsserottOct 28, 2009
  8. Johannes SchindelinOct 26, 2009
  9. eschvocaOct 27, 2009

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.