public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] Documentation/email-clients.txt: add a section about git
@ 2014-05-07 11:17 Dan Carpenter
  2014-05-07 16:06 ` Laura Abbott
  0 siblings, 1 reply; 10+ messages in thread
From: Dan Carpenter @ 2014-05-07 11:17 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: linux-doc, linux-kernel, devel

These days most people don't use git to send patches so I have added a
section about that.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

diff --git a/Documentation/email-clients.txt b/Documentation/email-clients.txt
index 4e30eba..9004a5fd 100644
--- a/Documentation/email-clients.txt
+++ b/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.  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 `cat raw_email.txt | git am`
+and then review the changelog with `git log -p`.  When that works then
+send the patch to list.
+
 General Preferences
 ----------------------------------------------------------------------
 Patches for the Linux kernel are submitted via email, preferably as

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-05-11  0:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-07 11:17 [patch] Documentation/email-clients.txt: add a section about git Dan Carpenter
2014-05-07 16:06 ` Laura Abbott
2014-05-07 16:18   ` Dan Carpenter
2014-05-08  8:44   ` [patch v2] " Dan Carpenter
2014-05-08  9:05     ` Julian Andres Klode
2014-05-08  9:28       ` Hillf Danton
2014-05-09  7:28         ` Dan Carpenter
2014-05-09  0:24     ` Namhyung Kim
2014-05-09  7:26       ` Dan Carpenter
2014-05-11  0:19     ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox