I had to change my laptop hdd to sdd, I have backup of my local files. Now I want to synch my local files and existing bitbucket repo without losing my changes in my local folder.
What is the correct way to do it ?
Thanks
edit : tried to solve same way as the suggested question before suggestion, I got errors
fatal: refusing to merge unrelated histories
I had to do following steps
first git pull origin master --allow-unrelated-histories
then
git merge origin origin/master
after commit and git push origin master