Changes

Jump to navigation Jump to search
Line 124: Line 124:     
  git send-email --to=sugar-devel@lists.sugarlabs.org 0001*.patch
 
  git send-email --to=sugar-devel@lists.sugarlabs.org 0001*.patch
 +
 +
==== How do I set up git-send-email? ====
 +
 +
1. Install git-email
 +
 +
2. Configure your ~/.gitconfig file
 +
[user]
 +
    email = foo@sugarlabs.org
 +
    name = Foo Bar
 +
 +
[sendemail]
 +
    smtpserver = smtp.gmail.com
 +
    smtpserverport = 465
 +
    smtpuser = foo@sugarlabs.org
 +
    smtpencryption = ssl
 +
    suppresscc = author
 +
 +
3. In the directory where patch is present use:
 +
 +
git send-email HEAD^..HEAD --to "sugar-devel@lists.sugarlabs.org" patchname.patch
 +
 +
You can configure the destination address so you don't need to specify
 +
it manually every time:
 +
 +
git config sendemail.to "sugar-devel <sugar-devel@lists.sugarlabs.org>"
 +
 +
You need to do this for each of the repositories you are working on (e.g. sugar + sugar-toolkit).
    
=== As a maintainer, how do I merge a patch? ===
 
=== As a maintainer, how do I merge a patch? ===

Navigation menu