Problems with Linux next tree
Kinka Huang
kinkabrain at gmail.com
Tue Jul 15 10:52:45 EDT 2014
ok, got it. Thanks!
2014-7-15 下午3:48于 "Prabhakar Lad" <prabhakar.csengg at gmail.com>写道:
> Hi,
>
> On Tue, Jul 15, 2014 at 5:52 AM, 黄钦佳 <kinkabrain at gmail.com> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140715/6b1571c2/attachment.html
More information about the Kernelnewbies
mailing list