Wrong Source
Use Case
○ h <- Paste
○ g
│ ○ f
│ ○ e
│ ○ d <- Cut
│ ○ c <- You should have cut here
├─╯
○ b
○ a
◆
- You rebase:
jj rebase -s d -o h
× f
× e
× d
○ h <- Paste
○ g
│
│ ○ c <- Left over
├─╯
○ b
○ a
◆
- Conflicts!
- You realize you forgot to include Change
c.
Solution
Add the missing Change:
jj rebase -r c --after h
○ f
○ e
○ d
○ c
○ h
○ g
○ b
○ a
◆