Ricardo Wurmus (2016-03-23 10:41 +0300) wrote: > Chris Marusich <cmmarus...@gmail.com> writes: > >> While we're talking about patches, I'm curious: how are other people >> managing the patches? In particular, what does the workflow look like >> for people who are committing? Do you manually download the patch (or >> patches) to a temporary folder, view it/them, and if you like what you >> see, commit it with "git am" to a local repo, then push to origin? > > I’m using an email client in Emacs, so the email as well as the attached > patch is shown in a regular text buffer. When I see the patch I can > directly apply it by running “git am” on the buffer contents, or by > opening a shell and running “git am” on the file associated with the > buffer.
In Magit, one can use "w w" to apply patches, and "w m" if they are saved in a "maildir" file, as can be done in Gnus by selecting several articles (in Summary buffer) and pressing "o". See (info "(magit) Applying patches") and (info "(gnus) Saving Articles") -- Alex