Re: Can a git changeset be created with no parent
- From
Andreas Ericsson <ae@op5.se>
- Date
- Sep 25, 2011, 14:33 UTC
- Message-ID
- <4E7F3BAC.4020209@op5.se>
- In-Reply-To
- <1316960136073-6829212.post@n2.nabble.com>
On 09/25/2011 04:15 PM, vra5107 wrote:
Show 6 quoted lines
> Hi > > I am currently in the process of converting a large hg repository. > One of the changesets has no parents assigned. So to mirror that is it > possible to create a git changeset that doesnot have a parent ? >
Yes. Each and every project git has ever managed starts with a commit just like that. In git lingo, it's called a "root commit".
-- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace.