If you want to merge project-a
into project-b
:
cd path/to/project-b
git remote add project-a path/to/project-a举个例子 https://gitlab.sdtdev.net/dcs/client/web-client
git fetch project-a
git merge --allow-unrelated-histories project-a/master # or whichever branch you want to merge
git remote remove project-a