<p dir="ltr">ok, got it. Thanks!</p>
<div class="gmail_quote">2014-7-15 下午3:48于 "Prabhakar Lad" <<a href="mailto:prabhakar.csengg@gmail.com">prabhakar.csengg@gmail.com</a>>写道:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
On Tue, Jul 15, 2014 at 5:52 AM, 黄钦佳 <<a href="mailto:kinkabrain@gmail.com">kinkabrain@gmail.com</a>> wrote:<br>
>> Due to the way the linux-next tree is built, 'git pull' won't work.<br>
>><br>
>> You want to 'git clone' Linus's master tree, then 'git remote add'<br>
>> the Linux-next tree. Then use 'git remote update' instead of 'git pull'<br>
>> when you want to refresh the tree.<br>
><br>
> I use 'git remote update', and then try 'git checkout master', it<br>
> tells that my branch has diverged.<br>
> But I do not have modifies on that branch. So I have to try 'git reset<br>
> 20140707', and then checkout successed. I don't know why, any help?<br>
<br>
You should always create your own local branch and never work on master<br>
branch!<br>
<br>
Thanks,<br>
--Prabhakar Lad<br>
</blockquote></div>