Re: Update Linux kernel branch source from GIT
- From
Thiago Farina <tfransosi@gmail.com>
- Date
- Nov 12, 2011, 20:59 UTC
- Message-ID
- <CACnwZYdFByS7pAgi5di8jDE=tYMvFQtxsTTiGqY9O0O3W04Dig@mail.gmail.com>
- In-Reply-To
- <4EBCB737.4090100@kom.za.net>
On Fri, Nov 11, 2011 at 3:48 AM, Eric Kom <erickom@kom.za.net> wrote:
Show 8 quoted lines
> Good day, > > Am new on this list, and also compile the kernel linux from git after > clone. since I don't use the tar kernel version, am use to clone a new > kernel branch instead to update it via patch. > > Please can you explain to me how to make a patch after clone it? >
To make a patch?
I think you want something like this (uncompleted/untested offhand):
$ git checkout -b my-patch origin/master # hack on some files $ git commit -a -s # edit commit message $ git format-patch $ git send-email
Hugely these are the commands I'd use to make a change and send it out to LKML.