All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] Documentation: using git to send patches
@ 2014-06-12 17:12 Randy Dunlap
  0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2014-06-12 17:12 UTC (permalink / raw)
  To: Linus Torvalds, linux-doc@vger.kernel.org; +Cc: Dan Carpenter, LKML

From: Dan Carpenter <dan.carpenter@oracle.com>

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

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-06-12 17:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-12 17:12 [PATCH 1/2] Documentation: using git to send patches Randy Dunlap

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.