{"thread":{"id":"44362","subject":"git clone --bare --origin incompatible?","startedAt":"2016-10-23T11:12:04Z","lastAt":"2016-10-23T12:50:43Z","messageCount":3,"participants":["Roman Neuhauser","Andreas Schwab"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"304757","messageId":"20161023110338.GA1486@isis.sigpipe.cz","threadId":"44362","inReplyTo":null,"subject":"git clone --bare --origin incompatible?","fromName":"Roman Neuhauser","fromEmail":"neuhauser@sigpipe.cz","sentAt":"2016-10-23T11:03:38Z","receivedAt":"2016-10-23T11:12:04Z","isPatch":false,"sender":{"key":"neuhauser@sigpipe.cz","avatar":null},"body":"hello,\n\nwhat is the reason clone --bare prohibits --origin?\n\n  % git clone --bare -o fubar anything anywhere\n  fatal: --bare and --origin fubar options are incompatible.\n\n\n-- \nroman\n"},{"id":"304758","messageId":"87y41f8czg.fsf@linux-m68k.org","threadId":"44362","inReplyTo":"20161023110338.GA1486@isis.sigpipe.cz","subject":"Re: git clone --bare --origin incompatible?","fromName":"Andreas Schwab","fromEmail":"schwab@linux-m68k.org","sentAt":"2016-10-23T12:29:55Z","receivedAt":"2016-10-23T12:30:07Z","isPatch":false,"sender":{"key":"schwab@linux-m68k.org","avatar":"https://avatars.githubusercontent.com/u/2175493?v=4"},"body":"On Okt 23 2016, Roman Neuhauser <neuhauser@sigpipe.cz> wrote:\n\n> what is the reason clone --bare prohibits --origin?\n>\n>   % git clone --bare -o fubar anything anywhere\n>   fatal: --bare and --origin fubar options are incompatible.\n\nSince a bare clone maps remote branches directly to local branches,\nwithout any remote-tracking branches, --origin doesn't make sense.\n\nAndreas.\n\n-- \nAndreas Schwab, schwab@linux-m68k.org\nGPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5\n\"And now for something completely different.\"\n"},{"id":"304759","messageId":"20161023125035.GB1486@isis.sigpipe.cz","threadId":"44362","inReplyTo":"87y41f8czg.fsf@linux-m68k.org","subject":"Re: git clone --bare --origin incompatible?","fromName":"Roman Neuhauser","fromEmail":"neuhauser@sigpipe.cz","sentAt":"2016-10-23T12:50:35Z","receivedAt":"2016-10-23T12:50:43Z","isPatch":false,"sender":{"key":"neuhauser@sigpipe.cz","avatar":null},"body":"# schwab@linux-m68k.org / 2016-10-23 14:29:55 +0200:\n> On Okt 23 2016, Roman Neuhauser <neuhauser@sigpipe.cz> wrote:\n> \n> > what is the reason clone --bare prohibits --origin?\n> >\n> >   % git clone --bare -o fubar anything anywhere\n> >   fatal: --bare and --origin fubar options are incompatible.\n> \n> Since a bare clone maps remote branches directly to local branches,\n> without any remote-tracking branches, --origin doesn't make sense.\n\nis it going to break something though?  i can still go and rename\nthe remote in the bare repo's config file afterwards.\n\n-- \nroman\n"}]}