From: supadhyay <supadhyay@imany.com>
To: git@vger.kernel.org
Subject: how to clone/checkout branch/tag vesion from GIT repository
Date: Thu, 10 May 2012 06:39:47 -0700 (PDT) [thread overview]
Message-ID: <1336657187852-7546744.post@n2.nabble.com> (raw)
Hi All,
I try to use below command to do clone from particular branch/version
number. I used below command...
$ git clone -b br6-1-0 ssh://gitolite@myservername/testrep
Cloning into 'testrep'...
remote: Counting objects: 19536, done.
remote: Compressing objects: 100% (5850/5850), done.
remote: Total 19536 (delta 13869), reused 18869 (delta 13202)
Receiving objects: 100% (19536/19536), 61.44 MiB | 17 KiB/s, done.
Resolving deltas: 100% (13869/13869), done.
warning: Remote branch br6-0 not found in upstream origin, using HEAD
instead
End user query is - they want the clone from particular branch which is
separate from Head so I run above commmand. Can any one please help me how
to resolve this?
Is there any way to findout how many branches are available in my GIT
repository.
Thanks in advance...
--
View this message in context: http://git.661346.n2.nabble.com/how-to-clone-checkout-branch-tag-vesion-from-GIT-repository-tp7546744.html
Sent from the git mailing list archive at Nabble.com.
next reply other threads:[~2012-05-10 13:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-10 13:39 supadhyay [this message]
2012-05-10 13:56 ` how to clone/checkout branch/tag vesion from GIT repository Jeff King
2012-05-10 14:19 ` Suchi Upadhyay
2012-05-10 14:39 ` Jeff King
2012-05-11 12:45 ` supadhyay
2012-05-11 17:22 ` Jeff King
2012-05-12 10:26 ` supadhyay
2012-05-14 6:18 ` supadhyay
2012-05-14 17:33 ` Jeff King
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=1336657187852-7546744.post@n2.nabble.com \
--to=supadhyay@imany.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).