From mboxrd@z Thu Jan 1 00:00:00 1970 From: me@sillymon.ch (Silvan Jegen) Date: Sun, 15 Feb 2015 10:30:22 +0100 Subject: Download patch from email. In-Reply-To: References: <9390101.4760919.1423885733514.JavaMail.yahoo@mail.yahoo.com> <20150214090457.GA5140@myarchbang> Message-ID: <20150215093021.GC14317@myarchbang> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Sun, Feb 15, 2015 at 08:11:51AM +0200, Elazar Leibovich wrote: > I use "|". > > $ cd ~/linux-source > $ mutt > (select email with patch) > |git am > > Git applies the patch to the current directory Ah, I knew about '|' but I did not know that git am can read from stdin as well, nice! > Last note, from gmail, one can use the "show original" menu item, and > save/copy-paste the text from there. git am would understand that. Yes, I do that when I am not on my computer... I think all webmail clients I have used do have a 'Show original' (or similar) option whose text you can just copy paste. Cheers, Silvan