Skip to content

Unsquashing from a merge commit is weird #4343

Answered by martinvonz
cormacrelf asked this question in Q&A
Discussion options

You must be logged in to vote

I think you can jj new --before qq to insert a new commit before qq. It should become a merge commit because it inherits the parents of qq by default (you could combine it with --after, but that's not what you're looking for in your case).

EDIT: Add --no-edit to just create the commit without editing it afterwards.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@cormacrelf
Comment options

cormacrelf Aug 26, 2024
Collaborator Author

Answer selected by cormacrelf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants