|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Test harness git clone: "unable to checkout"
On Sat, 2011-08-13 at 04:43 +0100, Todd Deshane wrote:
> When I run: git clone git://xenbits.xen.org/osstest.git
>
> I get:
> Cloning into osstest...
> remote: Counting objects: 3971, done.
> remote: Compressing objects: 100% (2685/2685), done.
> remote: Total 3971 (delta 2627), reused 1890 (delta 1259)
> Receiving objects: 100% (3971/3971), 648.25 KiB | 337 KiB/s, done.
> Resolving deltas: 100% (2627/2627), done.
> warning: remote HEAD refers to nonexistent ref, unable to checkout.
>
> Is there a fix or workaround?
AIUI this repo doesn't actually have a default head or an ongoing
"master" branch, hence it fails to check anything out after cloning.
Instead you should manually checkout the head corresponding to the
flight you are interested in. Check out "git remote -r"'s output and
e.g.
git checkout -b fligh-8416 origin/flight-8416
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|