From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=96.73.9.1; helo=muon.bluestop.org; envelope-from=rebecca@bluestop.org; receiver=edk2-devel@lists.01.org Received: from muon.bluestop.org (muon.bluestop.org [96.73.9.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 4D229226516AF for ; Sat, 7 Apr 2018 17:12:19 -0700 (PDT) Received: from muon.bluestop.org (localhost [127.0.0.1]) by muon.bluestop.org (Postfix) with ESMTP id A0D3510EDC; Sat, 7 Apr 2018 18:12:55 -0600 (MDT) Received: from muon.bluestop.org ([127.0.0.1]) by muon.bluestop.org (muon.bluestop.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id PHQ7FqRc-kVG; Sat, 7 Apr 2018 18:12:54 -0600 (MDT) Received: from [10.0.10.121] (gw.bluestop.org [96.73.9.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by muon.bluestop.org (Postfix) with ESMTPSA; Sat, 7 Apr 2018 18:12:54 -0600 (MDT) To: "Duran, Leo" , "edk2-devel@lists.01.org" References: From: Rebecca Cran Message-ID: <28830f43-65f6-2893-bd34-7385554a14ae@bluestop.org> Date: Sat, 7 Apr 2018 18:12:16 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Subject: Re: vUDK2018: git clone X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Apr 2018 00:12:19 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US On 04/07/2018 04:10 PM, Duran, Leo wrote: > Regarding the "git clone" instructions listed on step "2.iii.a", here: > https://github.com/tianocore/tianocore.github.io/wiki/UDK2018-How-to-Build > > iii. OR Checkout the vUDK2018 Tag from GitHub with the following "git" command > > a. run git clone https://github.com/tianocore/edk2.git vUDK2018 > > Instead of checking out the vUDK2018 Tag, that simply clones the tip of the master branch to a vUDK2018 directory. > > So, I'd like to suggest the following changes: > iii. OR Checkout the vUDK2018 Tag from GitHub with the following "git" command > > a. Run: git clone https://github.com/tianocore/edk2.git vUDK2018 > > b. Go to the vUDK2018 directory, and from there run: git checkout tags/vUDK2018 -b vUDK2018 > > ... And so on, from there. It may be better to just add the "-b" parameter, and specify the branch name instead of the tag - which is UDK2018, instead of vUDK2018. e.g.: git clone https://github.com/tianocore/edk2.git -b UDK2018 An example on my machine: bcran@muon:~/workspace % git clone https://github.com/tianocore/edk2.git -b UDK2018 Cloning into 'edk2'... remote: Counting objects: 296007, done. remote: Compressing objects: 100% (106/106), done. remote: Total 296007 (delta 119), reused 121 (delta 89), pack-reused 295812 Receiving objects: 100% (296007/296007), 268.82 MiB | 10.08 MiB/s, done. Resolving deltas: 100% (208848/208848), done. Checking out files: 100% (15552/15552), done. bcran@muon:~/workspace % cd edk2 bcran@muon:~/workspace/edk2 % git branch * UDK2018 If you specify the tag, vUDK2018 when cloning, you're put into the 'detached HEAD' state instead. -- Rebecca