git merge different repositories?
Solution 1:
If you have two projects, proj1
and proj2
and want to merge changes of proj1
into proj2
, you would do it like this:
# in proj2:
git remote add proj1 path/to/proj1
git fetch proj1
git merge proj1/master # or whichever branch you want to merge
I believe this does the same thing as what you were doing with SVN.