From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756138AbaFLRMv (ORCPT ); Thu, 12 Jun 2014 13:12:51 -0400 Received: from casper.infradead.org ([85.118.1.10]:60129 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753017AbaFLRMt (ORCPT ); Thu, 12 Jun 2014 13:12:49 -0400 Message-ID: <5399DF8B.5050409@infradead.org> Date: Thu, 12 Jun 2014 10:12:43 -0700 From: Randy Dunlap User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Linus Torvalds , "linux-doc@vger.kernel.org" CC: Dan Carpenter , LKML Subject: [PATCH 1/2] Documentation: using git to send patches Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Dan Carpenter These days most people use git to send patches so I have added a section about that. Signed-off-by: Dan Carpenter Signed-off-by: Randy Dunlap --- v2: fix typo in commit message v3: update git am and log commands. Mention the man pages. v4: s/list/appropriate mailing list(s)/ --- Documentation/email-clients.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) --- lnx-315-rc5.orig/Documentation/email-clients.txt +++ lnx-315-rc5/Documentation/email-clients.txt @@ -1,6 +1,17 @@ Email clients info for Linux ====================================================================== +Git +---------------------------------------------------------------------- +These days most developers use `git send-email` instead of regular +email clients. The man page for this is quite good. On the receiving +end, maintainers use `git am` to apply the patches. + +If you are new to git then send your first patch to yourself. Save it +as raw text including all the headers. Run `git am raw_email.txt` and +then review the changelog with `git log`. When that works then send +the patch to the appropriate mailing list(s). + General Preferences ---------------------------------------------------------------------- Patches for the Linux kernel are submitted via email, preferably as