ok, got it. Thanks!
2014-7-15 下午3:48于 "Prabhakar Lad" <prabhakar.csengg@xxxxxxxxx>写道:
Hi,
On Tue, Jul 15, 2014 at 5:52 AM, 黄钦佳 <kinkabrain@xxxxxxxxx> wrote:
>> Due to the way the linux-next tree is built, 'git pull' won't work.
>>
>> You want to 'git clone' Linus's master tree, then 'git remote add'
>> the Linux-next tree. Then use 'git remote update' instead of 'git pull'
>> when you want to refresh the tree.
>
> I use 'git remote update', and then try 'git checkout master', it
> tells that my branch has diverged.
> But I do not have modifies on that branch. So I have to try 'git reset
> 20140707', and then checkout successed. I don't know why, any help?
You should always create your own local branch and never work on master
branch!
Thanks,
--Prabhakar Lad
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies