Skip to content
Discussion options

You must be logged in to vote

The equivalent to the git commands would be this:

jj git fetch --remote upstream
jj new main main@upstream

That's exactly what you wrote except that I swapped the two arguments to jj new so your fork's main branch becomes the first parent. You may or may not care about that.

You could instead rebase, as you said, but that's a discussion that's mostly unrelated to whether you git or jj. The first page I found when I just googled it was https://www.atlassian.com/git/tutorials/merging-vs-rebasing

Replies: 1 comment 1 reply

Comment options

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

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