Dear Bitbucket community,
I would like to copy the commit history of one repo to another. I have my main repo and I duplicated it and called it my "dev" repo to practice using git. I made some changes to the "dev" repo and would like to move those changes to the main repo. Any tips on how to do that? The manual way to do that would be to make a local clone of the "main" repo and then replace all the files and commit each change manually but it seems very time consuming. I can also replace all files at once and make one huge commit but then I would lose the commit history. How can I update the main repo with the commits I made in the dev repo?
Any help would be much appreciated.
Kind regards,
Oli