From: =?ISO-8859-15?Q?Stefan_N=E4we?= Subject: Re: git clone -b Date: Mon, 1 Jul 2013 09:04:46 +0200 Message-ID: <51D12A0E.60709@atlas-elektronik.com> References: <51CD7AB7.3040409@atlas-elektronik.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: QUOTED-PRINTABLE To: Git List X-From: git-owner@vger.kernel.org Mon Jul 01 09:04:55 2013 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UtYAP-0005Ro-LY for gcvg-git-2@plane.gmane.org; Mon, 01 Jul 2013 09:04:54 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752729Ab3GAHEs convert rfc822-to-quoted-printable (ORCPT ); Mon, 1 Jul 2013 03:04:48 -0400 Received: from mail96.atlas.de ([194.156.172.86]:30025 "EHLO mail96.atlas.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752472Ab3GAHEr (ORCPT ); Mon, 1 Jul 2013 03:04:47 -0400 Received: from localhost (localhost [127.0.0.1]) by mail96.atlas.de (Postfix) with ESMTP id 150EF10136 for ; Mon, 1 Jul 2013 09:04:46 +0200 (CEST) X-Virus-Scanned: amavisd-new at mail96.atlas.de Received: from mail96.atlas.de ([127.0.0.1]) by localhost (mail96.atlas.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Mp2aiMpbyb_r for ; Mon, 1 Jul 2013 09:04:44 +0200 (CEST) Received: from mgsrv01.atlas.de (mail01.atlas.mailrelays.atlas.de [10.200.101.16]) by mail96.atlas.de (Postfix) with ESMTP for ; Mon, 1 Jul 2013 09:04:44 +0200 (CEST) Received: from MSSRVS1.atlas.de (mssrvs1.atlas.de [10.200.101.71]) by mgsrv01.atlas.de (Postfix) with ESMTP id 864FB27169 for ; Mon, 1 Jul 2013 09:04:44 +0200 (CEST) Received: from [10.200.54.97] (10.200.54.97) by MSSRVS1.atlas.de (10.200.101.71) with Microsoft SMTP Server (TLS) id 8.3.279.1; Mon, 1 Jul 2013 09:04:44 +0200 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 In-Reply-To: <51CD7AB7.3040409@atlas-elektronik.com> X-Enigmail-Version: 1.5.1 Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Am 28.06.2013 13:59, schrieb Stefan N=E4we: > Hi there! >=20 > Is there any reason why 'git clone -b' only takes a branch (from refs= /heads/) > or a tag (from refs/tags/) ? >=20 > Background: At $dayjob we're using some kind of 'hidden' refs (in ref= s/releases/) > to communicate between the 'branch integrator' (who creates the ref i= n refs/releases/) > and the 'build master' who wants to build that ref.=20 >=20 > It would be a little easier if the build master could simply say >=20 > git clone -b refs/releases/the-release-for-today URL >=20 > instead of: git clone... ; cd ... ; git fetch... ; git checkout.... >=20 > Any answer or even a better idea to solve that is appreciated. >=20 > Stefan >=20 Anyone? Thanks, Stefan --=20 ---------------------------------------------------------------- /dev/random says: Some people like learning Eskimo, but I can't get Inu= it. python -c "print '73746566616e2e6e616577654061746c61732d656c656b74726f6= e696b2e636f6d'.decode('hex')"