still wrapping my head around GIT...
I created a branch off another branch by mistake. Looks like this:
c1...c2
/
b1...b2...b3
/
a1...a2...a3...a4
Meant to do this:
b1...b2...b3
/
a1...a2...a3...a4
\
c1...c2
I assume there's some way to fix this but after some time with the docs etc. I'm not seeing it. Thanks!
From the c2
branch:
git rebase --onto a3 b2
lets say your branches are a,b & c , if you created branch c from b instead of creating it from branch a
this is what i would do to fix it
git rebase --onto a b c
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With