Re: applying and committing patches in a single git command
- From
Stephan Beyer <s-beyer@gmx.net>
- Date
- Jul 15, 2008, 08:52 UTC
- Message-ID
- <20080715085228.GA6244@leksak.fem-net>
- In-Reply-To
- <ce513bcc0807150150l783e9ff1kd7780dc59f4b5a3d@mail.gmail.com>
Hi,
Erez Zilber wrote:
Show 7 quoted lines
> 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?
git-am is exactly what you want.
Regards.
-- Stephan Beyer <s-beyer@gmx.net>, PGP 0x6EDDD207FCC5040F