同步linux-next.git

49 views
Skip to first unread message

linux-kernel

unread,
Jul 10, 2011, 11:21:16 PM7/10/11
to linux-...@zh-kernel.org
hi, all
我现在想在本地上clong一个linux-next.git。第一下能完整的下载下来。
如要有更新的提交,用tgit pull从git tree下载更新,它就提示本地有些文件改
动了。
不能与kernet git tree同步。有谁做过请指点一下了。

参考命令:
-----
o $ git clone
git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
o $ git pull
_______________________________________________
Linux 内核开发中文邮件列表
Linux-...@zh-kernel.org
http://zh-kernel.org/mailman/listinfo/linux-kernel
Linux 内核开发中文社区: http://zh-kernel.org

wjcdx

unread,
Jul 11, 2011, 12:31:37 AM7/11/11
to linux-kernel, linux-...@zh-kernel.org
于 2011/7/11 11:21, linux-kernel 写道:
> hi, all
> 我现在想在本地上clong一个linux-next.git。第一下能完整的下载下来。
> 如要有更新的提交,用tgit pull从git tree下载更新,它就提示本地有些文件改
> 动了。
> 不能与kernet git tree同步。有谁做过请指点一下了。
>
> 参考命令:
> -----
> o $ git clone
> git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> o $ git pull
参见http://linux.f-seidel.de/linux-next/pmwiki/
使用git fetch

linux-kernel

unread,
Jul 11, 2011, 5:14:34 AM7/11/11
to wjcdx, linux-...@zh-kernel.org
hi, wjcd
Thanks for you.

command sync for git tree:
---

$ git remote add linux-next
git://git.kernel.org/pub/scm/linux/kernel/git/sfr/linux-next.git
$ git fetch linux-next
$ git fetch --tags linux-next
... # later on
$ git remote update


On 2011年07月11日 12:31, wjcdx wrote:
> 于 2011/7/11 11:21, linux-kernel 写道:
>> hi, all
>> 我现在想在本地上clong一个linux-next.git。第一下能完整的下载下来。
>> 如要有更新的提交,用tgit pull从git tree下载更新,它就提示本地有些文件改
>> 动了。
>> 不能与kernet git tree同步。有谁做过请指点一下了。
>>
>> 参考命令:
>> -----
>> o $

Reply all
Reply to author
Forward
0 new messages