[Arm-netbook] Cant checkout branch lichee-dev for u-boot

Tom Cubie tangliang at allwinnertech.com
Thu Dec 29 08:52:45 GMT 2011


On 12/29/2011 03:50 PM, KillerKink Goh wrote:
>
>
> ------------------------------------------------------------------------
> Date: Thu, 29 Dec 2011 15:45:41 +0800
> From: tangliang at allwinnertech.com
> To: arm-netbook at lists.phcomp.co.uk
> Subject: Re: [Arm-netbook] Cant checkout branch lichee-dev for u-boot
>
>
> I think 'git checkout -b lichee-dev origin/lichee-dev' can work.
>
> _______________________________________________ arm-netbook mailing 
> list arm-netbook at lists.phcomp.co.uk 
> http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook Send large 
> attachments to arm-netbook at files.phcomp.co.uk
>
> Hi Tom,
>
> Still cant.
>
> ~/u-boot$ git checkout -b lichee-dev origin/lichee-dev
> fatal: git checkout: updating paths is incompatible with switching 
> branches.
> Did you intend to checkout 'origin/lichee-dev' which can not be 
> resolved as commit?
>
> regards,
>  KK
>
>
> _______________________________________________
> arm-netbook mailing list arm-netbook at lists.phcomp.co.uk
> http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook
> Send large attachments to arm-netbook at files.phcomp.co.uk
checkout this 
http://stackoverflow.com/questions/945654/git-checkout-on-a-remote-branch-does-not-work

"I believe this occurs when you are trying to checkout a remote branch 
that your local git repo is not aware of yet. Try:

git remote show origin
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:

git fetch
Now it should work:

git checkout -b local-name origin/remote-name"


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.phcomp.co.uk/pipermail/arm-netbook/attachments/20111229/f04f547e/attachment.html 


More information about the arm-netbook mailing list