1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA512 |
3 |
|
4 |
Daniel Campbell: |
5 |
> On 02/03/2016 04:57 PM, gokturk@××××××××××.edu wrote: |
6 |
>> From: Gokturk Yuksek <gokturk@××××××××××.edu> |
7 |
> |
8 |
>> Hi, |
9 |
> |
10 |
> [...] |
11 |
> |
12 |
> This isn't related to what you're doing but I felt it was a good |
13 |
> place to ask: |
14 |
> |
15 |
> How are you and other developers creating these series of e-mails? |
16 |
> It seems really handy and I'd like to know what it is, in the |
17 |
> event that I need to do the same. |
18 |
> |
19 |
> |
20 |
|
21 |
Here's how I do it: Make your commits on a separate branch as if you'd |
22 |
push them directly to the repo. Use 'git format-patch' to generate |
23 |
patch files and use 'git send-email' to send them. You can skip |
24 |
format-patch and just use send-email but for a changeset of 21 commits |
25 |
I'd like to take another look. |
26 |
|
27 |
git format-patch --stat --summary -o bug558642_v3/ -n -v3 |
28 |
- --cover-letter master..devmanual-git-migration-v3 |
29 |
|
30 |
Creates the patches. '--cover-letter' creates a special patch file |
31 |
that requires editing which becomes the first email in the series, |
32 |
which is the one you replied to. |
33 |
|
34 |
Once satisfied, I sent it with: |
35 |
|
36 |
git send-email * |
37 |
|
38 |
Keep in mind that git will CC authors of the patches and yourself to |
39 |
the email. So you may have to adjust those. |
40 |
|
41 |
Don't forget to edit your .gitconfig and set proper SMTP options in |
42 |
the [sendemail] section. |
43 |
|
44 |
- -- |
45 |
gokturk |
46 |
-----BEGIN PGP SIGNATURE----- |
47 |
|
48 |
iQEcBAEBCgAGBQJWsq3CAAoJEIT4AuXAiM4zuIEH/AvY3LYbcPMONlA5KuXTYTBG |
49 |
8AtgqynEmQ0Qt1XujbC8W2bsKRMiUi8Xbtttnm/urfVCzCDKVQrzIkIA4x4kqIxA |
50 |
HKYgLuqE2zLxfLrbJkB0W3F1ogNOt1fuxzR9HSlasgqOSh13tpexINvI77iC4U0T |
51 |
7ZlUeRv5R7AqvObEZO+2hY3JkHCELgD4lwRkNwjzqNVqJLJOVUev3wXid38GBPf2 |
52 |
qQUEUdZw5XuM5ygFM0r5ZgP2X8HEs5FfB9ouAHGuw7d/Kr+R3L+vH1v5g4+D+n1f |
53 |
iink8nR2LMrcBRiQ4/tbXyBgBiu/jZeG5UTJfQte3jyOuP4kf65SFADW+3B4+cc= |
54 |
=46ba |
55 |
-----END PGP SIGNATURE----- |