Wrong Destination
Use Case
○ h <- You should have rebased here
○ g <- Paste
│ ○ f
│ ○ e
│ ○ d
│ ○ c <- Cut
├─╯
○ b
○ a
◆
- You rebase.
$ jj rebase -s c -o g
× f
× e
× d
× c
│ ○ h
├─╯
○ g
○ b
○ a
◆
- Conflicts.
- You notice the rebase target was wrong.
Solution
Rebase onto the intended Change.
jj rebase -s c -o h
○ f
○ e
○ d
○ c
○ h
○ g
○ b
○ a
◆