public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* vUDK2018: git clone
@ 2018-04-07 22:10 Duran, Leo
  2018-04-08  0:12 ` Rebecca Cran
  0 siblings, 1 reply; 2+ messages in thread
From: Duran, Leo @ 2018-04-07 22:10 UTC (permalink / raw)
  To: edk2-devel@lists.01.org

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.

Leo.




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

* Re: vUDK2018: git clone
  2018-04-07 22:10 vUDK2018: git clone Duran, Leo
@ 2018-04-08  0:12 ` Rebecca Cran
  0 siblings, 0 replies; 2+ messages in thread
From: Rebecca Cran @ 2018-04-08  0:12 UTC (permalink / raw)
  To: Duran, Leo, edk2-devel@lists.01.org

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


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

end of thread, other threads:[~2018-04-08  0:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-07 22:10 vUDK2018: git clone Duran, Leo
2018-04-08  0:12 ` Rebecca Cran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox