{"thread":{"id":"11275","subject":"Inconsistency in use of \"--bare\" between init & clone","startedAt":"2007-12-13T15:37:50Z","lastAt":"2007-12-13T15:37:50Z","messageCount":1,"participants":["Joe Ratterman"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"63025","messageId":"331aa8280712130737h7300c739n59ee2fce6c4e4a9@mail.gmail.com","threadId":"11275","inReplyTo":null,"subject":"Inconsistency in use of \"--bare\" between init & clone","fromName":"Joe Ratterman","fromEmail":"jratt0@gmail.com","sentAt":"2007-12-13T15:37:50Z","receivedAt":"2007-12-13T15:37:50Z","isPatch":false,"sender":{"key":"jratt0@gmail.com","avatar":"https://avatars.githubusercontent.com/u/66082737?v=4"},"body":"I've been getting ready to support my organization in a change-over to\ngit from cvs, and I've found a strange issue when creating bare\nrepositories.  The placement of the \"--bare\" option changes:\n\ngit --bare clone <url>  ==  \"--bare\" is silently ignored\ngit --bare init  ==  Creates an empty bare repo\n\ngit clone --bare  ==  Clones the url into a new bare repo\ngit init --bare  ==  Error:\n        usage: git-init [-q | --quiet]\n[--template=<template-directory>] [--shared]\n\nI assume there a reason for the lack of symmetry, but I don't understand it.\n\nThanks,\nJoe\n\n$ git version\ngit version 1.5.3.7.1157.gbf82a\n"}]}