From: gnu kevin <kevin.gnu.zhang@gmail.com>
To: git <git@vger.kernel.org>
Subject: how to clone all branches include remote branches
Date: Wed, 11 Feb 2009 01:49:12 +0800 [thread overview]
Message-ID: <95463c700902100949w23a95536re9a65a2e5c3c0b5d@mail.gmail.com> (raw)
hi,
I'd like to know how to get all remote(grandparent) branches by clone
a remote repo . for example:
remote repo ABC contains below branches:
master
stable/main
dev/main
while master is the local branch in remote repo and stable/main &
dev/main is two remote branches of that remote repo, when I clone from
ABC repo, I can only get a copy of ABC's local branch master, how can
I get those two remote(grandparent) branches also copied?
BRs,
Kevin
next reply other threads:[~2009-02-10 17:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-10 17:49 gnu kevin [this message]
2009-02-10 18:05 ` how to clone all branches include remote branches Johannes Gilger
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=95463c700902100949w23a95536re9a65a2e5c3c0b5d@mail.gmail.com \
--to=kevin.gnu.zhang@gmail.com \
--cc=git@vger.kernel.org \
/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).