Re: git clone --bare --origin incompatible?
- From
- Roman Neuhauser <neuhauser@sigpipe.cz>
- Date
- Oct 23, 2016, 12:50 UTC
- Message-ID
- <20161023125035.GB1486@isis.sigpipe.cz>
- In-Reply-To
- <87y41f8czg.fsf@linux-m68k.org>
# schwab@linux-m68k.org / 2016-10-23 14:29:55 +0200:
Show 9 quoted lines
> On Okt 23 2016, Roman Neuhauser <neuhauser@sigpipe.cz> wrote: > > > what is the reason clone --bare prohibits --origin? > > > > % git clone --bare -o fubar anything anywhere > > fatal: --bare and --origin fubar options are incompatible. > > Since a bare clone maps remote branches directly to local branches, > without any remote-tracking branches, --origin doesn't make sense.
is it going to break something though? i can still go and rename the remote in the bare repo's config file afterwards.
-- roman