# Can't create a bare repository

3 messages from 2011-06-13 to 2011-06-13. Participants: Carlo, Randal L. Schwartz.
Thread: https://gitlist.dev/t/27617

## Carlo, 2011-06-13 15:29

Subject: Can't create a bare repository
Message-ID: <loom.20110613T172618-580@post.gmane.org>
URL: https://gitlist.dev/e/loom.20110613T172618-580%40post.gmane.org

```
Hi,
I'm just starting using Git and I want to use it mainly for web development. I'm
following this guide:

http://toroid.org/ams/git-website-howto

(anyway, better suggestions are really appreciated)
I'm at the point where I have to create a bare repository on the server, but
when I give the command "git init --bare" I get this output:

usage: git-init [-q | --quiet] [--template=<template-directory>] [--shared]

It seems like it's not a valid command.

Any idea?

```

## Randal L. Schwartz, 2011-06-13 15:36

Subject: Re: Can't create a bare repository
Message-ID: <864o3tkakr.fsf@red.stonehenge.com>
URL: https://gitlist.dev/e/864o3tkakr.fsf%40red.stonehenge.com
In-Reply-To: <loom.20110613T172618-580@post.gmane.org>

```
>>>>> "Carlo" == Carlo  <mr.spoon21@gmail.com> writes:

Carlo> I'm just starting using Git and I want to use it mainly for web
Carlo> development. I'm following this guide:

Carlo> http://toroid.org/ams/git-website-howto

Carlo> (anyway, better suggestions are really appreciated) I'm at the
Carlo> point where I have to create a bare repository on the server, but
Carlo> when I give the command "git init --bare" I get this output:

Carlo> usage: git-init [-q | --quiet] [--template=<template-directory>] [--shared]

Carlo> It seems like it's not a valid command.

Time to upgrade your git from something that was released after May 28
of 2008.  That was three years ago. :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion

```

## Carlo, 2011-06-13 16:25

Subject: Re: Can't create a bare repository
Message-ID: <loom.20110613T182410-42@post.gmane.org>
URL: https://gitlist.dev/e/loom.20110613T182410-42%40post.gmane.org
In-Reply-To: <864o3tkakr.fsf@red.stonehenge.com>

```
Randal L. Schwartz <merlyn <at> stonehenge.com> writes:

> Randal> Time to upgrade your git from something that was released after May 28
> Randal> of 2008.  That was three years ago. :)

Great, thanks.
It worked :)

```
