git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.
Previous: Eric Kom
Message 3 of 3 in “[ANNOUNCE] Git 1.7.7.3”
  1. Junio C HamanoNov 9, 2011
  2. Update Linux kernel branch source from GITEric Kom, Nov 11, 2011
  3. Thiago FarinaNov 12, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.