From: Junio C Hamano Date: Wed, 26 Nov 2025 23:14:06 GMT Subject: Re: [PATCH 1/1] replay: add --revert option to reverse commit changes Message-ID: In-Reply-To: Elijah Newren writes: > == Example command lines from your proposal == > > git replay --rebase main feature~3..feature > > This command to me would suggest that main is being rebased, but it > isn't -- it rebases feature~3..feature onto main while updating > feature to point at the result. I find the "--rebase main" part of > this command line confusing. > > git replay --cherry-pick main feature~3..feature > > This command to me would suggest that main is being cherry-picked, but > it isn't -- it cherry-picks feature~3..feature onto main while > updating main to point at the result. Again, I find the > "--cherry-pick main" part of this command line confusing. That only tells us that if you want to help users by limiting the vocabulary to a single set (i.e. both command names, and mode names used in replay), you'd need to make sure you have the order of and given to the replay command in logical order, in line with the option name, no? Of course, if you want to say "cherry-pick", cherry-picked range would have to come near the option flag that says "cherry-pick", naturally.