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

Re: git rebase -i <first_commit_in_repository>

From
Mike Hommey <mh@glandium.org>
Date
Oct 26, 2009, 17:24 UTC
Message-ID
<20091026172412.GA30467@glandium.org>
In-Reply-To
<2b05065b0910261014t4eb93952oc804bcd01b339a84@mail.gmail.com>
On Mon, Oct 26, 2009 at 01:14:47PM -0400, eschvoca 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.

Unfortunately, there is no way to do so, except by hand, by checking out the first commit, amend it, and then rebase.

Mike
Previous: eschvocaNext: Erik Faye-Lund
Message 2 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.