* Inconsistency in use of "--bare" between init & clone
@ 2007-12-13 15:37 Joe Ratterman
0 siblings, 0 replies; only message in thread
From: Joe Ratterman @ 2007-12-13 15:37 UTC (permalink / raw)
To: git
I've been getting ready to support my organization in a change-over to
git from cvs, and I've found a strange issue when creating bare
repositories. The placement of the "--bare" option changes:
git --bare clone <url> == "--bare" is silently ignored
git --bare init == Creates an empty bare repo
git clone --bare == Clones the url into a new bare repo
git init --bare == Error:
usage: git-init [-q | --quiet]
[--template=<template-directory>] [--shared]
I assume there a reason for the lack of symmetry, but I don't understand it.
Thanks,
Joe
$ git version
git version 1.5.3.7.1157.gbf82a
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-12-13 15:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-13 15:37 Inconsistency in use of "--bare" between init & clone Joe Ratterman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).