git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* git clone -b
@ 2017-05-08  6:30 Дилян Палаузов
  2017-05-08  7:42 ` Jeff King
  0 siblings, 1 reply; 12+ messages in thread
From: Дилян Палаузов @ 2017-05-08  6:30 UTC (permalink / raw)
  To: git

Hello,

why do these work:

git clone --bare -b 3.5 https://github.com/python/cpython A
git clone -b 3.6 A B
git clone -b 3.5 https://github.com/python/cpython C

but these not:

git clone -b 3.6 C D
git clone --no-local -b 3.6 C D

with git version 2.12.2.89.g49800c940?

Regards
   Дилян

^ permalink raw reply	[flat|nested] 12+ messages in thread
* git clone -b
@ 2013-06-28 11:59 Stefan Näwe
  2013-06-28 12:15 ` Stefan Näwe
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Stefan Näwe @ 2013-06-28 11:59 UTC (permalink / raw)
  To: Git List

Hi there!

Is there any reason why 'git clone -b' only takes a branch (from refs/heads/)
or a tag (from refs/tags/) ?

Background: At $dayjob we're using some kind of 'hidden' refs (in refs/releases/)
to communicate between the 'branch integrator' (who creates the ref in refs/releases/)
and the 'build master' who wants to build that ref. 

It would be a little easier if the build master could simply say

  git clone -b refs/releases/the-release-for-today URL

instead of: git clone... ; cd ... ; git fetch... ; git checkout....

Any answer or even a better idea to solve that is appreciated.

Stefan
-- 
----------------------------------------------------------------
/dev/random says: Second star to the right & straight on till morning...
python -c "print '73746566616e2e6e616577654061746c61732d656c656b74726f6e696b2e636f6d'.decode('hex')"

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2017-05-08  7:42 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-08  6:30 git clone -b Дилян Палаузов
2017-05-08  7:42 ` Jeff King
  -- strict thread matches above, loose matches on Subject: below --
2013-06-28 11:59 Stefan Näwe
2013-06-28 12:15 ` Stefan Näwe
2013-06-28 12:18 ` Fredrik Gustafsson
2013-06-28 12:27   ` Stefan Näwe
2013-07-01  7:04 ` Stefan Näwe
2013-07-01 16:46   ` Junio C Hamano
2013-07-02  6:35     ` Stefan Näwe
2013-07-02 18:21       ` Junio C Hamano
2013-07-01 17:49   ` Phil Hord
2013-07-03 10:01     ` Jeff King

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).