From: Andreas Schwab <schwab@linux-m68k.org>
To: Roman Neuhauser <neuhauser@sigpipe.cz>
Cc: git@vger.kernel.org
Subject: Re: git clone --bare --origin incompatible?
Date: Sun, 23 Oct 2016 14:29:55 +0200 [thread overview]
Message-ID: <87y41f8czg.fsf@linux-m68k.org> (raw)
In-Reply-To: <20161023110338.GA1486@isis.sigpipe.cz> (Roman Neuhauser's message of "Sun, 23 Oct 2016 13:03:38 +0200")
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.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next prev parent reply other threads:[~2016-10-23 12:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-23 11:03 git clone --bare --origin incompatible? Roman Neuhauser
2016-10-23 12:29 ` Andreas Schwab [this message]
2016-10-23 12:50 ` Roman Neuhauser
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y41f8czg.fsf@linux-m68k.org \
--to=schwab@linux-m68k.org \
--cc=git@vger.kernel.org \
--cc=neuhauser@sigpipe.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).