Skip to contentSkip to conversation

Can't create a bare repository

DISCUSSION Carlo 2 participants 3 messages Jun 15, 2016

lore
Share & tools
lore

Carlo

author
#0 lore raw

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?

#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Carlo" == Carlo <[email protected]> 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. :)

Signature · 4 lines
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[email protected]> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
author
#2 lore raw
Quoted 2 lines · 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 :)