Skip to content
Discussion options

You must be logged in to vote

Sometimes when I create a merge commit with something like jj new BOOKMARK main; jj commit -m 'merge main' it works fine and the history looks good, but then the Github PR page seems to think that all the commits on main that were merged in are actually part of the PR, and it shows all those commits and changed files.

Yes, this is because the parent order in jj new <parent> <parent> is significant, the first parent should be main/master/trunk.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@dimfeld
Comment options

@dimfeld
Comment options

Answer selected by dimfeld
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