Re: applying and committing patches in a single git command
- From
- Erez Zilber <erezzi.list@gmail.com>
- Date
- Jul 15, 2008, 09:46 UTC
- Message-ID
- <ce513bcc0807150246g790ca009vc0a76bd6ef0aac9b@mail.gmail.com>
- In-Reply-To
- <487C659E.60606@panasas.com>
On Tue, Jul 15, 2008 at 11:53 AM, Boaz Harrosh <bharrosh@panasas.com> wrote:
Show 16 quoted lines
> 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