-
|
i for a repo, clone it (this is the origin). i make some changes. 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. anything that is simpler than, temporarily adding/removing the remote is appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
What exactly does |
Beta Was this translation helpful? Give feedback.
-
|
In this situation, you should track
But, you don’t intend to keep them in sync with When you want to rebase on top of upstream, use something like
If you want to be able to update |
Beta Was this translation helpful? Give feedback.
In this situation, you should track
main@originbut notmain@upstream.mainandmain@originare 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 movemain@upstream, but notmain.When you want to rebase on top of upstream, use something like
jj rebase -d main@upstream -b main.If you want to be able to update
main(and thusmain@origin) before your PR me…