Description:
My Professor gave us few tasks. So I created two public repos Task1
and Task2
on github and normally I have done these tasks couple of days before the deadline.
And then he told us that we should have one private repo and there store all tasks and additional gave one more task. So I created new repo FinalVersion
on Bitbucket and I cloned all my previous repos there, additionally I have done the newest task and pushed my all previous task and the new one to the brand new repo. And then my professor told us that he will check also our commits which I lose when pushed all staff on bitbucket.
Goal: take all commits history from these two repos Task1
and Task2
and put it at the beginning of FinalVersion
I searched it on google but found only example: sb clone repo 1:1 using -mirror
option. I thought that I can copy the final version somewhere and then try use -mirror
option on Task1
and Task2
and then do rebease
the FinalVersion
and put it on the latest master node.
But I think there is some better solution. What do you think?