Closed navidcy closed 2 years ago
Yes, this is something which needs to be sorted. Probably it can be done easily by doing a rebase
. I'll try it out.
you can just delete main
(since it's empty!) and rename this branch to main
But perhaps rebase
would do. (I have no idea what rebase
is.)
I just did --allow-unrelated-histories
and it worked. This was much easier than what stack overflow was saying about rebase
(I don't know anything about it either).
What did you mean "did". What exactly did you do so I can learn? 😀
@dhruvbhagtani, I don't know what you did here, but you don't seem to have branched of
main
to create theParameterising-KPP-Shear
branch. And this, I believe, won't allow you to merge it back tomain
. The branches don't share the same history and thus git won't be able to figure out which files to prioritise/merge from the two branches...