problem solved
this issus accure because of git shallow clone
use unshallowed option convert to full clone
在 2014年1月20日星期一UTC+8下午11时28分28秒,Sela Selah写道:
>
> $ git checkout -b linux-3.6 origin/linux-3.6
> fatal: Cannot update paths and switch to branch 'linux-3.6' at the same
> time.
> Did you i
$ git checkout -b linux-3.6 origin/linux-3.6
fatal: Cannot update paths and switch to branch 'linux-3.6' at the same
time.
Did you intend to checkout 'origin/linux-3.6' which can not be resolved as
commit?
--
git checkout -b linux-3.6 origin/linux-3.6
On Wed, Jan 15, 2014 at 12:43 AM, Sela Selah wrote:
> I exec the command:
> git clone git://dev.lemote.com/linux-official.git
> cd linux-official && git branch
>
> there only master branch but I want to switch to the linux-3.6 branch.
> any thing wrong?
I exec the command:
git clone git://dev.lemote.com/linux-official.git
cd linux-official && git branch
there only master branch but I want to switch to the linux-3.6 branch.
any thing wrong?
--
You received this message because you are subscribed to the Google Groups
"loongson-dev" group.
To uns