]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Documentation: add section about git to email-clients.txt
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 28 Jun 2014 01:28:46 +0000 (18:28 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 29 Jun 2014 20:38:33 +0000 (13:38 -0700)
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/email-clients.txt

index 4e30ebaa9e5b2652950b2383817e852d2e2239e0..9af538be3751ac55e8bfd3b5449262082adb5fd8 100644 (file)
@@ -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