用git管理android patch

来源:互联网 发布:ant.jar编译java项目 编辑:程序博客网 时间:2024/05/18 09:16

在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.

原创粉丝点击