Cathyyang
Cathyyang

Reputation: 135

How to arc diff with only the current commit changes that are depend on other diffs?

I created a stacked diff like this:

master - A - B - C
          \
           D

All the branches created by arc feature branch_name. How do I change it to A - B - C - D while at the same time, D only shows it's own change?

Tried Git rebase --onto C A, but then D includes all the changes from B and C.

Upvotes: 0

Views: 848

Answers (1)

eftshift0
eftshift0

Reputation: 30277

I think you should run

git rebase C D

That should be enough to get it like

a <- B <- C <- D

Upvotes: 1

Related Questions