This is sort of a follow up of: This question
I am trying to merge one git repo (project-a) into another (probject-b). Project b was a copy from project-a.
Specifically for this answer: If you want to merge project-a into project-b:
cd path/to/project-b
git remote add project-a path/to/project-a
git fetch project-a
git merge project-a/master # or whichever branch you want to merge
git remote remove project-a
It is VERY important that project-b's code does not merge back to project-a.
Would this solution only merge all of project-a's updates to project-b, but not merge project-b's updates back to project-a?