且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

混帐合并不同的存储库?

更新时间:2023-12-05 16:45:10

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.