From: Junio C Hamano Date: Sat, 20 Dec 2008 20:06:22 GMT Subject: Re: Applying patches from a patch set Message-ID: <7vabaqy5kx.fsf@gitster.siamese.dyndns.org> In-Reply-To: "Mark Ryden" writes: > Hello, > I am subscribed to some linux kernel subsystem mailing list; in this > list there are sometimes patchsets with more than > 30-40 patches. > I am using gmail web interface client. > > In order to apply a patch set I copy and paste each patch from the > patchset into a file, and then apply that patch. > I assume that there is a better way. > Recently I encountered a fatal error when doing so (and I am not sure > what caused it). > > So my question is: does anyone know a more elegant way of applying a > large patchset ? > Maybe there is better mail client with which this process can be done easily ? First mistake(?) is you seem to be doing copy&paste from browser. Don't. It can easily damage whitespaces. Find out how your webmail interface allows you to save selected messages in a mbox and let you download it. Then $ git am that-mbox-file