Re: git fast-import : How to change parent during import?
- From
Vitor Antunes <vitor.hda@gmail.com>
- Date
- Aug 28, 2011, 15:23 UTC
- Message-ID
- <20110828162325.5f479ef7@fenix.utopia.dhis.org>
- In-Reply-To
- <20110308024427.GA21471@elie>
On Mon, 7 Mar 2011 20:44:27 -0600 Jonathan Nieder <jrnieder@gmail.com> wrote:
Show 6 quoted lines
> > Is it possible to change the parent of a commit during fast import? > > I've tried using "reset" command and making a new commit pointing to a > > new parent, but in both cases I get a "new tip ... does not contain > > ..." error message. > > Have you tried "git fast-import --force"?
I know this is an old topic, but I'm looking into this again now. What I'm now trying to do is to stop using "--force".
Is there a way to manually force fast-import to drop an old commit that the frontend script decided it was no longer necessary?
Thanks,
-- Vitor Antunes