Skip to content
Discussion options

You must be logged in to vote

In this situation, you should track main@origin but not main@upstream.

main and main@origin are logically the same branch: You expect to keep them in sync with each other.

But, you don’t intend to keep them in sync with main@upstream, at least not automatically. So, don’t track it. You can still fetch from upstream, which will move main@upstream, but not main.

When you want to rebase on top of upstream, use something like jj rebase -d main@upstream -b main.

i could create a new, differently named bookmark and use that to track my changes, but the pr is already opened and i do not want to loose the discussion.

If you want to be able to update main (and thus main@origin) before your PR me…

Replies: 2 comments 2 replies

Comment options

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

Comment options

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

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