Thank you, this option slipped my eye at 1am somehow :-) On 23 Jul 2014 08:03, "Konstantin Khomoutov" <[email protected]> wrote:
> On Wednesday, July 23, 2014 3:44:15 AM UTC+4, Gergely Polonkai wrote: > > > I have a fresh repository, with only three commits. I made a mistake, as > the first two commits should be one. Normally I would do that with an > interactive rebase, but in this case I cannot use origin/master (as there > are no remotes yet), neither HEAD^^^ as it refers to no commits (I cannot > go beyond the first one). Although I could easily remove the whole .git > directory and start from scratch (my 3rd commit only adds a new .gitignore > file), I'd like to know if this is possible at all. > > Use > > git rebase -i --root > > > -- > You received this message because you are subscribed to the Google Groups > "Git for human beings" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
