Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Activity Team/Git FAQ
(view source)
Revision as of 10:27, 4 October 2010
714 bytes added
,
10:27, 4 October 2010
→How do I send a patch to the Sugar developers?
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? ===
Walter
Bureaucrats
,
Administrators
10,579
edits