lkml.org 
[lkml]   [2005]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Updated git HOWTO for kernel hackers
    On Wed, 22 Jun 2005, Jeff Garzik wrote:

    > 5) check in your own modifications (e.g. do some hacking, or apply a patch)
    >
    > # go to repo
    > $ cd linux-2.6
    >
    > # make some modifications
    > $ patch -sp1 < /tmp/my.patch
    > $ diffstat -p1 < /tmp/my.patch
    >
    > # NOTE: add '--add' and/or '--remove' if files were added or removed
    > $ git-update-cache <list of all files changed>

    There's actually "git add" for when you add a file (if you're actually
    developing with git, rather than just applying patching with it). No
    script, so far as I can tell, for removing a file, though.

    -Daniel
    *This .sig left intentionally blank*

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-06-23 06:28    [W:4.031 / U:0.360 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site