<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 12/29/2011 03:50 PM, KillerKink Goh wrote:
<blockquote cite="mid:COL119-W2824B488A5B898B0D0F98DA8AD0@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
<div dir="ltr">
<br>
<br>
<div>
<hr id="stopSpelling">Date: Thu, 29 Dec 2011 15:45:41 +0800<br>
From: <a class="moz-txt-link-abbreviated" href="mailto:tangliang@allwinnertech.com">tangliang@allwinnertech.com</a><br>
To: <a class="moz-txt-link-abbreviated" href="mailto:arm-netbook@lists.phcomp.co.uk">arm-netbook@lists.phcomp.co.uk</a><br>
Subject: Re: [Arm-netbook] Cant checkout branch lichee-dev for
u-boot<br>
<br>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft SafeHTML">
<br>
I think 'git checkout -b lichee-dev origin/lichee-dev' can
work.<br>
<br>
_______________________________________________
arm-netbook mailing list <a class="moz-txt-link-abbreviated" href="mailto:arm-netbook@lists.phcomp.co.uk">arm-netbook@lists.phcomp.co.uk</a>
<a class="moz-txt-link-freetext" href="http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook">http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook</a>
Send large attachments to <a class="moz-txt-link-abbreviated" href="mailto:arm-netbook@files.phcomp.co.uk">arm-netbook@files.phcomp.co.uk</a><br>
<br>
Hi Tom,<br>
<br>
Still cant.<br>
<br>
~/u-boot$ git checkout -b lichee-dev origin/lichee-dev<br>
fatal: git checkout: updating paths is incompatible with
switching branches.<br>
Did you intend to checkout 'origin/lichee-dev' which can not
be resolved as commit?<br>
<br>
regards,<br>
KK<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
arm-netbook mailing list <a class="moz-txt-link-abbreviated" href="mailto:arm-netbook@lists.phcomp.co.uk">arm-netbook@lists.phcomp.co.uk</a>
<a class="moz-txt-link-freetext" href="http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook">http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook</a>
Send large attachments to <a class="moz-txt-link-abbreviated" href="mailto:arm-netbook@files.phcomp.co.uk">arm-netbook@files.phcomp.co.uk</a>
</pre>
</blockquote>
checkout this
<a class="moz-txt-link-freetext" href="http://stackoverflow.com/questions/945654/git-checkout-on-a-remote-branch-does-not-work">http://stackoverflow.com/questions/945654/git-checkout-on-a-remote-branch-does-not-work</a><br>
<br>
"I believe this occurs when you are trying to checkout a remote
branch that your local git repo is not aware of yet. Try:<br>
<br>
git remote show origin<br>
If the remote branch you want to checkout is under "New remote
branches" and not "Tracked remote branches" then you need to fetch
them first:<br>
<br>
git fetch<br>
Now it should work:<br>
<br>
git checkout -b local-name origin/remote-name"<br>
<br>
</body>
</html>