美文网首页
git merge two repos

git merge two repos

作者: hi小羊 | 来源:发表于2018-01-19 15:54 被阅读0次

git clone git_link
Firstly add subtree, from which you want to pull the repo.
git subtree add --prefix=path_name git_link master

run 'ls' you'll see the the repo to be merged.

run 'git push origin master' to merge two repos.

相关文章

网友评论

      本文标题:git merge two repos

      本文链接:https://www.haomeiwen.com/subject/mtzooxtx.html