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

Can't create a bare repository

From
Carlo <mr.spoon21@gmail.com>
Date
Jun 13, 2011, 15:29 UTC
Message-ID
<loom.20110613T172618-580@post.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?
Next: Randal L. Schwartz
Message 1 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.