Re: Is there a way to cherry-pick a merge?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 14, 2013, 21:54 UTC
- Message-ID
- <7vobb8mk7z.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20130614213656.6813.qmail@science.horizon.com>
"George Spelvin" <linux@horizon.com> writes:
Show 10 quoted lines
> "George Spelvin" <linux@horizon.com> writes: >>> Sometimes I'd like to repeat a previously performed merge, preserving >>> the commit message. And, if possible, the conflict resolutions. >> >> Is it "git merge commit^2"? > > I suppose that was an obvious one to leave out of my alternatives list. > > This is what I've been doing, but it requires I cut and paste the commit > message. Preserving timestamps, author, etc. is even more awkward.
In the meantime, "git commit --amend -C commit" would be a workaround, I would guess.