Linus Torvalds [off-list ref] writes:
On Thu, 16 Nov 2006, Linus Torvalds wrote:
quoted
(And the real reason for that is simple: "git pull" simply wants to have
something to _start_ with. It's not hugely fundamental, it's just how it
was written).
Here's a very lightly tested patch that allows you to use "git pull" to
populate an empty repository.
I'm not at all sure this is necessarily the nicest way to do it, but it's
fairly straightforward.
Junio, what do you think?
Yeah, I talked about making "merge" treat missing HEAD as a
special case of fast forward, but I like yours better. It is a
lot cleaner and to the point.