git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How can I create a commit without a parent?
@ 2010-02-02  8:00 Ron Garret
  2010-02-02  8:05 ` Junio C Hamano
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Ron Garret @ 2010-02-02  8:00 UTC (permalink / raw)
  To: git

SLSIA.  git commit-tree insists on having at least one parent commit at 
the command line.  From reverse-engineering it seems like I could do it 
by setting .git/HEAD to 'ref: refs/heads/some-nonexistent-branch' but 
mucking with HEAD directly like that feels kinda scary.

Thanks,
rg

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-02-02 16:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-02  8:00 How can I create a commit without a parent? Ron Garret
2010-02-02  8:05 ` Junio C Hamano
2010-02-02  8:19   ` Ron Garret
2010-02-02 15:02 ` Jakub Narebski
2010-02-02 16:40 ` Jay Soffian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).