Re: How to create empty CENTRAL git with master / development branch ?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 4, 2012, 17:16 UTC
- Message-ID
- <7vhawza046.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <201204040711.q347BTXg025316@VM-MailSafe-02.soltecsis.com>
"J. Bakshi" <joydeep.bakshi@infoservices.in> writes:
Show 8 quoted lines
> On Tue, 03 Apr 2012 16:54:19 +0200 > Holger Hellmuth <hellmuth@ira.uka.de> wrote: > >> > git --bare init project_name.git >> >> you probably meant "git init --bare project_name.git" > > Yes right. Sorry for the mistake.
Just on this part. "git --bare init" is technially more kosher, but it looks somewhat strange, so "git init" has a special case code to pretend as if the user said "git --bare init" when "git init --bare" was given.
So both should work fine.