threads / discuss / 27617

Can't create a bare repository

Subject: Can't create a bare repository

## tl;dr

3 messages between Jun 13, 2011 and Jun 13, 2011.

replies: 2people: 2as markdown or json

Carlo· Jun 13, 2011, 15:29 UTC · lore

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· Jun 13, 2011, 15:36 UTC · re: Carlo · lore

Re: Can't create a bare repository

>>>>> "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· Jun 13, 2011, 16:25 UTC · re: Randal L. Schwartz · lore

Re: Can't create a bare repository

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 :)

← back to recent threads