git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Can't create a bare repository

From
Randal L. Schwartz <merlyn@stonehenge.com>
Date
Jun 13, 2011, 15:36 UTC
Message-ID
<864o3tkakr.fsf@red.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
Previous: CarloNext: Carlo
Message 2 of 3 in “Can't create a bare repository”
  1. CarloJun 13, 2011
  2. Randal L. SchwartzJun 13, 2011
  3. CarloJun 13, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.