From: Robert P. J. Day Date: Tue, 09 Feb 2021 16:58:10 GMT Subject: Re: how to most effectively cherry pick by selective patch hunk? Message-ID: <4fe5247a-96d6-c4a-97f8-9ede175adf90@crashcourse.ca> In-Reply-To: On Tue, 9 Feb 2021, Jeff King wrote: > On Tue, Feb 09, 2021 at 08:58:06AM -0500, Robert P. J. Day wrote: > > > what would be great is some sort of "-p" (patch selection) option > > with cherry-pick, but i don't see that. > > We have "checkout -p", but of course the problem there is that it's > picking out of the whole state of that commit. So you might see > other changes not introduced by that commit. this is probably what i'll use since i can use to grab only the patch file from that commit, then add and commit it manually from there. rday