// at the copying repo // move the files into another folder to prevent merge conflicts git add . git commit -m "Project move in progress"
// on the destionation repo
// the name temp
could be changed for anything else
// locations are like in the shell, but the \
should be replaced to /
git remote add temp location
git fetch temp
// merge the changes
git merge --allow-unrelated-histories temp/master
// remove the added remote temp
git remote remove temp