3 ms·
Save the email to your local machine (in gmail, click the 3 dots and choose download message). Then run git am < saved_email_file.eml
by u801e 3y ago
Save the email to your local machine (in gmail, click the 3 dots and choose download message). Then run
git am < saved_email_file.eml
- da39a3ee 3y agoRight, thanks! (And using clipboard and stdin sounds even more convenient for small patches as a sibling comment suggests.)
- u801e 3y agoCopy-paste may not work depending on how the email client renders the email. For example, if the email client doesn't preserve prefixed whitespace, then the resulting patch may be corrupted or not apply. Saving the actual email to a file on disk would avoid that issue.