Replies: 3 comments 4 replies
-
Thanks! We haven't updated this docs for a while. Instead of answering right here, I might ask you to look at a PR updating the docs. In short, assuming you follow what sides of a conflict are, you probably would like to know which side of the conflict corresponds to the commit being rebased. Currently, you have to guess, all that is guaranteed is side #1 corresponds consistently to one of the two sides per-file. See also #1176. If that sounds cryptic, feel free to ask follow-up questions or wait until I hopefully make the PR updating the docs. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your patience. I think I understand now. Log before rebase:
Log after rebase:
file1 after rebase:
Are these statements about the above tutorial example correct?: Base is the master branch. Side #1 is destination branch and contains change A. Side #2 is source branch and contains changes B1, B2, C. |
Beta Was this translation helpful? Give feedback.
-
In #1176, the notation "conflict (B + (C - A))" seems like it might be a useful way to think of conflicts.
|
Beta Was this translation helpful? Give feedback.
-
What do
base
,side #1
, andside #2
mean in the context of conflict markers?Here is the content of an example file after jj rebase:
I am working through the jj tutorial:
https://martinvonz.github.io/jj/latest/tutorial/#conflicts
https://martinvonz.github.io/jj/latest/conflicts/ > Conflict markers
Here is the full rebase example:
Beta Was this translation helpful? Give feedback.
All reactions