From: Erez Zilber Date: Tue, 15 Jul 2008 09:46:18 GMT Subject: Re: applying and committing patches in a single git command Message-ID: In-Reply-To: <487C659E.60606@panasas.com> On Tue, Jul 15, 2008 at 11:53 AM, Boaz Harrosh wrote: > Erez Zilber wrote: >> Hi, >> >> Someone created a patch with git-format-patch and sent it to me. I >> would like to apply & commit the patch. If I use git-apply, it only >> patches my tree without committing it. Now, I need to copy the commit >> log, run git-commit and paste the commit log there. Is there a more >> intelligent way to do that? >> >> Thanks, >> Erez >> > git-am, can take all bunch of them at once > > Boaz > Thanks. I have 2 more questions: 1. How can I tell git-am to take a patch from an e-mail from a gmail account? 2. If I have the actual patch on my machine (not in an e-mail message), I guess that I need something else (not git-am). Is there anything like that? Thanks, Erez