在kernelnewbies@nl.linux.org 问的问题, xiangfu@sharism.cc 给我的如下答复:
1. since the kernel use "git". you can use different branch to maintain the kernel.
then cherry-pick to your local upstream branch
2. try use "stGIT" to maintain the patches. ( that is what I use everyday)
for example: you only want file "a.c" goto "001-android.patch"
$ stg goto 001-android.patch && stg refresh a.c
then the a.c will merge to "001-android.patch". never touch other "M" files
3. use "quilt" to maintain the patches.
我没有试过,因为公司用的是SVN.
本文介绍了使用Git来维护Linux内核分支的方法,包括利用不同的分支进行内核维护、使用cherry-pick命令同步特定提交到本地上游分支、采用stGIT工具管理补丁集以及考虑使用quilt作为另一种补丁管理方案。
397

被折叠的 条评论
为什么被折叠?



