Thread (1 message) 1 message, 1 author, 2016-06-15

Re: Cloning empty repositories, was Re: What is the idea for bare repositories?

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:50

Matthieu Moy [off-list ref] writes:
To create an initial commit in a bare repository, the most natural way
for me is to clone it, create the commit in the clone, and then push.

Bare-ness _does_ matter for that.
You are still wrong.

The most natural is to create a commit in a non-bare repository
you create, and push into a bare empty repository.  The
repository that is pushed into can be non-bare, but bareness of
that does _NOT_ matter.

Where bareness matters is on your end, the local private
repository you create the initial commit in.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help