0

I have three branches main A, B and C accidentally started from B.

A1----------A
 \
--Bn
   \
   C0-------Cn

C starts where B ends, A just merged into B. And I want it to be like:

-Bn
 /
A1----------An
 \
 C0-------Cn

C starts from A. I mean changes made by B should not be in C. What can I do?

1 Answers1

0

Edit.

I see your edited question. Now I understand you better.

You have to create a new branch from A1 and then cherry-pick all commits from branch C

Remove old branch C.

lapwingg
  • 112
  • 9